\r
LONG WINAPI UserUnhandledExceptionFilter(EXCEPTION_POINTERS* info)\r
{\r
- CASPAR_LOG(fatal) << L"#######################\n UNHANDLED EXCEPTION: \n" \r
- << L"Adress:" << info->ExceptionRecord->ExceptionAddress << L"\n"\r
- << L"Code:" << info->ExceptionRecord->ExceptionCode << L"\n"\r
- << L"Flag:" << info->ExceptionRecord->ExceptionFlags << L"\n"\r
- << L"Info:" << info->ExceptionRecord->ExceptionInformation << L"\n"\r
- << L"Continuing execution. \n#######################";\r
+ try\r
+ {\r
+ CASPAR_LOG(fatal) << L"#######################\n UNHANDLED EXCEPTION: \n" \r
+ << L"Adress:" << info->ExceptionRecord->ExceptionAddress << L"\n"\r
+ << L"Code:" << info->ExceptionRecord->ExceptionCode << L"\n"\r
+ << L"Flag:" << info->ExceptionRecord->ExceptionFlags << L"\n"\r
+ << L"Info:" << info->ExceptionRecord->ExceptionInformation << L"\n"\r
+ << L"Continuing execution. \n#######################";\r
+ }\r
+ catch(...){}\r
\r
return EXCEPTION_CONTINUE_EXECUTION;\r
}\r