由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to avoid getting "has encountered a problem and needs to close" window
相关主题
SQL debug step into a store procedure from another one (转载)Thread Priority 设为最高--窗口最小化时好像并不优先啊?
Heap corruption (转载)问一个vc++ 2008的问题
问个问题,关于gdb的XSL question
VS里debug不work求教!how to debug mpi?
how to turn off "ActiveX Control Test Container"?能否给些讲debug经验的文章和书籍 (转载)
只有executable能debug吗?一个debug的问题
visual studio 2010 release mode 问题不同compiler速度可以差很远吗?
请大家帮忙看一下:关于AJAX 中加入“Pleas wait... ” messageAfter build,how to run the program on visual C# 2008
相关话题的讨论汇总
话题: executable话题: window话题: am话题: needs
进入Programming版参与讨论
1 (共1页)
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
3
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.
1 (共1页)
进入Programming版参与讨论
相关主题
After build,how to run the program on visual C# 2008how to turn off "ActiveX Control Test Container"?
问个超简单的C问题只有executable能debug吗?
C++现在写起来真舒服啊visual studio 2010 release mode 问题
大家不觉得这篇文章很有道理么?未来语言的趋势?请大家帮忙看一下:关于AJAX 中加入“Pleas wait... ” message
SQL debug step into a store procedure from another one (转载)Thread Priority 设为最高--窗口最小化时好像并不优先啊?
Heap corruption (转载)问一个vc++ 2008的问题
问个问题,关于gdb的XSL question
VS里debug不work求教!how to debug mpi?
相关话题的讨论汇总
话题: executable话题: window话题: am话题: needs