Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations.

svn path=/trunk/; revision=17597
This commit is contained in:
Hartmut Birr 2005-08-30 16:26:38 +00:00
parent 3e0e6887f8
commit 276ca539bd

View file

@ -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;
}