I use the C++ dll in the Delphi Application.
The dll is compiled with /GS-.
There is a bug in the dll causing crash of the whole appication with windows error 0xc0000409
This error occurs in the dll, so I can't debug it. Is there any way to catch such exception so that I could just reload the dll or at least get a chance to properly shutdown the application?
No, there's no way to catch the 0xc0000409 exception. This is by design.
The rationale is that this is a security risk. The application is not in a state where it can safely proceed.
User contributions licensed under CC BY-SA 3.0