asdlei00 / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

an issue of ‘swallowed exceptions’ when running 32bit apps on 64 bit systems #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For MFC applications (don’t know about WTL but it should be the same), there 
is an issue of ‘swallowed exceptions’ when running 32bit apps on 64 bit 
systems. See

http://support.microsoft.com/kb/976038

which is an issue e.g. when the windows procedure is hooked. Also, MFC 
subclasses windows and in its windows procedure it catches some exceptions etc.

I have thus added functions to enable the hotfix mentioned in the article (so 
that exceptions are no longer swallowed) above and to replace the standard MFC 
windows procedure with one handling the exceptions thrown when the application 
is allowed to continue (otherwise Dr. Watson would appear).

I have ported your CrashRptTest to MFC to test these issues.

Original issue reported on code.google.com by zexspect...@gmail.com on 18 Oct 2011 at 3:09

GoogleCodeExporter commented 9 years ago
I decided not to fix this. This issue should be fixed by applying MS hotfix to 
Windows.

Original comment by zexspect...@gmail.com on 20 Oct 2011 at 8:08