diff --git a/GUI/main.cpp b/GUI/main.cpp index 74f73d1..0244468 100644 --- a/GUI/main.cpp +++ b/GUI/main.cpp @@ -20,7 +20,7 @@ LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS* exception) int main(int argc, char *argv[]) { - AddVectoredExceptionHandler(1, ExceptionHandler); + SetUnhandledExceptionFilter(ExceptionHandler); QApplication a(argc, argv); MainWindow w; w.show();