I have a mixed .NET and native code console application. The application process is terminated due to Visual C RunTime Library fatal error. Even though I am using the following, the managed code doesn’t catch the native exception:
- Try/catch block
AppDomain.UnHandledExption += ...
- Marking the
RuntimeCompatibilityAttribute(WrapNonExceptionThrows = true)
in the AssmblyInfo file.
What else can I do?