Browse Source

Crash dumps auch im debug modus erstellen

Kolja Strohm 5 years ago
parent
commit
0946d04ad3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main.h

+ 1 - 2
main.h

@@ -146,9 +146,8 @@ int WINAPI WinMain( _In_ HINSTANCE hinst, _In_opt_ HINSTANCE hpinst, _In_ LPSTR
     OutputDebugStringBuf<char, std::char_traits<char>> charDebugOutput;
     std::streambuf *buf = std::cout.rdbuf();
     std::cout.rdbuf( &charDebugOutput );
-#else
-    SetUnhandledExceptionFilter( unhandledHandler );
 #endif
+    SetUnhandledExceptionFilter( unhandledHandler );
     Framework::initFramework( hinst );
     Framework::Startparam stp;
     stp.hinst = hinst;