Commit 5524f644 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Don't call MessageBoxA before USER is initialized.

parent 72bdd5be
...@@ -111,10 +111,10 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers) ...@@ -111,10 +111,10 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
RegCloseKey(hDbgConf); RegCloseKey(hDbgConf);
} else { } else {
/* format[0] = 0; */ /* format[0] = 0; */
strcpy(format, "winedbg %ld %ld"); strcpy(format, "debugger/winedbg %ld %ld");
} }
if (!bAuto) { if (!bAuto && Callout.MessageBoxA) {
sprintf( buffer, "Unhandled exception 0x%08lx at address 0x%08lx.\n" sprintf( buffer, "Unhandled exception 0x%08lx at address 0x%08lx.\n"
"Do you wish to debug it ?", "Do you wish to debug it ?",
epointers->ExceptionRecord->ExceptionCode, epointers->ExceptionRecord->ExceptionCode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment