Don't call MessageBoxA before USER is initialized.

This commit is contained in:
Ulrich Weigand 2000-06-07 03:43:51 +00:00 committed by Alexandre Julliard
parent 72bdd5bee7
commit 5524f644d0
1 changed files with 2 additions and 2 deletions

View File

@ -111,10 +111,10 @@ DWORD WINAPI UnhandledExceptionFilter(PEXCEPTION_POINTERS epointers)
RegCloseKey(hDbgConf);
} else {
/* 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"
"Do you wish to debug it ?",
epointers->ExceptionRecord->ExceptionCode,