c*****t 发帖数: 3 | 1 I am writing a C program in VC I am creating an executable and
calling the executable from a script file. I am using this script file
to call the executable on lot of inputs (in the range of thousands).
But if the input is corrupted, the instance of the executable for that
input is causing the window with message ".exe has ecountered a
problem and needs to close". It then waits till I press one of the
three buttons (Debug, Send Report of Dont Send). Because of this
reason I am not able to run th | f********r 发帖数: 50 | 2 use unix/cygwin?
【在 c*****t 的大作中提到】 : I am writing a C program in VC I am creating an executable and : calling the executable from a script file. I am using this script file : to call the executable on lot of inputs (in the range of thousands). : But if the input is corrupted, the instance of the executable for that : input is causing the window with message ".exe has ecountered a : problem and needs to close". It then waits till I press one of the : three buttons (Debug, Send Report of Dont Send). Because of this : reason I am not able to run th
| v*****x 发帖数: 8 | | v*****x 发帖数: 8 | 4 A reasonable deduction is that the "message box" is the default exception
handler for your application. Wrapping code in your main (or WinMain, or
CWinApp if MFC) with a try/catch block to catch all exceptions might help.
I am not a Windows Programmer though. |
|