X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4cb34b02cdc1165d1dc511e310ed7f140cb1007..68d31398dd70c5c9ba7c8cc1a21bcf08eeba78f6:/src/msw/crashrpt.cpp diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 7098089b5e..eaccaeafce 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -1020,7 +1020,7 @@ bool wxCrashReportImpl::Generate(int flags) { if ( ResolveSymFunctions(dllDbgHelp) ) { - SymSetOptions(SYMOPT_DEFERRED_LOADS); + SymSetOptions(SYMOPT_DEFERRED_LOADS | SYMOPT_UNDNAME); // Initialize DbgHelp if ( SymInitialize(GetCurrentProcess(), NULL, TRUE /* invade */) ) @@ -1132,7 +1132,16 @@ extern unsigned long wxGlobalSEHandler(EXCEPTION_POINTERS *pExcPtrs) wxGlobalSEInformation = pExcPtrs; // give the user a chance to do something special about this - wxTheApp->OnFatalException(); + __try + { + wxTheApp->OnFatalException(); + } + __except ( EXCEPTION_EXECUTE_HANDLER ) + { + // nothing to do here, just ignore the exception inside the + // exception handler + ; + } wxGlobalSEInformation = NULL;