I have an application that contains both managed and native code. Currently, the application has an unhandled exception filter, which is set via SetUnhandledExceptionFilter, which detects critical errors, generates a mini-drive, writes various application parameters, and exits the program.
An unhandled exception handler does not detect an EngineExecutionException that occurs in the .NET runtime. We suspect that the problem is related to memory corruption caused by the native part of the application.
The problem is that when an exception occurs, the application simply exits without a trace. When this happens, we want to record a mini-drive. Does anyone know how our application can install a handler capable of catching this?
source share