Invoke always our own exception handler if the exception wasn't handled.
It prints some nice informations.
Modified: trunk/reactos/lib/kernel32/process/create.c
_____
Modified: trunk/reactos/lib/kernel32/process/create.c
--- trunk/reactos/lib/kernel32/process/create.c 2005-08-30 16:24:55 UTC
(rev 17596)
+++ trunk/reactos/lib/kernel32/process/create.c 2005-08-30 16:26:38 UTC
(rev 17597)
@@ -36,10 +36,14 @@
}
_SEH_HANDLE
{
- ExceptionDisposition =
UnhandledExceptionFilter(ExceptionInfo);
}
_SEH_END;
}
+ if ((ExceptionDisposition == EXCEPTION_CONTINUE_SEARCH ||
ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER) &&
+ GlobalTopLevelExceptionFilter != UnhandledExceptionFilter)
+ {
+ ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo);
+ }
return ExceptionDisposition;
}