开发者

An unhandled win32 exception occurred in MyApp.exe

开发者 https://www.devze.com 2022-12-21 15:31 出处:网络
WinXP used. When I click the default cross icon to close my application. The win form of 开发者_运维问答my application disappeared, but MyApp process still alive in the processes list when I open the

WinXP used. When I click the default cross icon to close my application. The win form of 开发者_运维问答my application disappeared, but MyApp process still alive in the processes list when I open the task manager window. About 5 seconds later, throw out the unhandled win32 exception error.

Where can I set the break point? I don't know how to debug it. Thanks.

[updated]

What is the exception received?

When I run MyApp.exe(Debug Version). Visual Studio Just-In-Time Debugger Window

An unhandled win32 exception occurred in MyApp.exe[520] The [520] always changed to different numbers. such as [5904],[304],etc.


You just run it under your IDE, it will show the location of the exception. If you do not have an IDE; note the address of the exception from the information dialog, look that address up from the MAP file generated with the EXE and try to locate the function...


  • Attach your Vc to the program.
  • Enable catch of all exeptions.
  • Close your application and see where it stops.
0

精彩评论

暂无评论...
验证码 换一张
取 消