Redian新闻
>
How to avoid getting "has encountered a problem and needs to close" window
avatar
How to avoid getting "has encountered a problem and needs to close" window# Programming - 葵花宝典
b*o
1
如果通过配偶(公民)办绿卡,同时申请工卡,工卡要到什么时候之前批准才不影响几
年七月一号上班?从工卡批准到上班之前都有什么手续,还是前一天批准
第二天马上就可以上班?
另一个问题就是如果想申请j-1,如果 配偶是公民或者绿卡,会不会被拒签?
多谢!
avatar
c*t
2
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
avatar
f*r
3
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

avatar
v*x
4
avatar
v*x
5
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.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。