Successfully build EXE, but it won't run...
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...
1. Did you try to debug it from IDE? 2. Did you try to build a release version? I vote pro drink X|
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...
F5 Helps Cheers!!!!:-D Carlos Antollini.
-
F5 Helps Cheers!!!!:-D Carlos Antollini.
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...
Assumming dlgdata.cpp is something you've written, what does line 43 say? The best thing to do is to put a breakpoint somewhere and see what you're passing to the particular function... Cheers, Richard.
-
Hi, I press F5 to build/compile it, but still receive the same error. How can I build a release version? I try to debug it, but I just don't know the proper step. I'm really new to this kind of stuff, please help...
You use F9 to put a breakpoint in your code, then when you push F5 you will go into debug mode, and the program will stop at your break point. Use F10 to execute a line of code at a time until you find the line that is crashing. In this case, you just need to go to the line in question of the file in question. It's in MFC and the code looks like this:
if (hWndCtrl == NULL) { TRACE1("Error: no data exchange control with ID 0x%04X.\\n", nIDC); ASSERT(FALSE); AfxThrowNotSupportedException(); }
What it is saying is that you used to have a control in your dialog, you deleted it, and there is still code there trying to link to that control. Get rid of the code related to the control you deleted and it will work. In future I recommend if an error comes up telling you a file and line number you have a look to see where it crashes so you can figure out why. The TRACE line would also have output this error into your output window, you should read what it say when a program crashes. Christian Secrets of a happy marriage #27: Never go to bed if you are mad at each other. It's more fun to stay up and fight.
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...
Press Retry, then select View|Debug windows|Call stack. YOu'll see that assert failed inside CDataExchange::PrepareCtrl. Look deeper on the stack to find out who called PrepareCtrl. I have a strong feeling that you have DDX_something on a control with nontexisting identifier inside CYourDialog::DoDataExchange. Tomasz Sowinski -- http://www.shooltz.com
-
I've successfully build the EXE for my program, but when I double click on it to run, a message come up like the one below... ---------------------------------------- Microsoft Visual C++ Debug Library ---------------------------------------- Debug Assertion Failed! Program - ...Program.EXE File: dlgdata.cpp Line: 43 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. Please Retry to debug the application. = Abort = = Retry = = Ignore = ----------------------------------------------- That was the message, I've try looking it up in the help file, but no luck. PLease help, the program just won't run even if I press Abort, Retry, or Ignore. When I press Retry, a message come up saying "An Unsupported Operation Was Attempted!"... Please, I really need to get this thing fix...