My program sometimes can't exit normally

  • Thread starter Thread starter chris
  • Start date Start date
C

chris

When click X or other exit entry, OS will ask me to report error to MS,
then i use windbg to debug, it report:Unknown exception - code c0020001
(first chance)

Does anybody know what is the problem?
 
When click X or other exit entry, OS will ask me to report error to MS,
then i use windbg to debug, it report:Unknown exception - code c0020001
(first chance)

Without more information, The logical assumption is that your app does
something illegal when it closes.
Does it also do this if you run it in the debugger?
If that is the case, then your program should break at the place where the
exception happens.

Have you tried setting breakpoints in your shutdown sequence and stepping
through it one line at the time?



--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Back
Top