From 7a381ff57d1616c9b80f67b9a0626beede8443ce Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 27 Sep 2012 19:33:09 +0100 Subject: Ignore .NET exceptions. --- common/os_win32.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/os_win32.cpp') diff --git a/common/os_win32.cpp b/common/os_win32.cpp index 617928cc..e9306cdc 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -275,6 +275,15 @@ unhandledExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo) return EXCEPTION_CONTINUE_SEARCH; } + /* + * Ignore .NET exception. + * + * http://ig2600.blogspot.co.uk/2011/01/why-do-i-keep-getting-exception-code.html + */ + if (pExceptionRecord->ExceptionCode == 0xe0434352) { + return EXCEPTION_CONTINUE_SEARCH; + } + // Clear direction flag #ifdef _MSC_VER #ifndef _WIN64 -- cgit v1.2.3