From 276ca539bd396fb92c6c1fa3b200723f7ca56eb7 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Tue, 30 Aug 2005 16:26:38 +0000 Subject: [PATCH] Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations. svn path=/trunk/; revision=17597 --- reactos/lib/kernel32/process/create.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reactos/lib/kernel32/process/create.c b/reactos/lib/kernel32/process/create.c index 05bfd520dcf..ccbcd5a61c5 100644 --- a/reactos/lib/kernel32/process/create.c +++ b/reactos/lib/kernel32/process/create.c @@ -36,10 +36,14 @@ _SEH_FILTER(BaseExceptionFilter) } _SEH_HANDLE { - ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo); } _SEH_END; } + if ((ExceptionDisposition == EXCEPTION_CONTINUE_SEARCH || ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER) && + GlobalTopLevelExceptionFilter != UnhandledExceptionFilter) + { + ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo); + } return ExceptionDisposition; } -- 2.17.1