Hello, I'm trying to isolate my application from third party components that may, (unfortunately), cause access violations. So I'm running these components in a console app. If an access voilation occurs I just want to log this and silently exit. I.e. avoid
the windows 'Application has stopped working' dialog. I'm using the HandleProcessCorruptedStateExceptions attribute but I still get this dialog. The code is below. Any ideas why this doesn't work? (A working sample of how to accomplish this would be even better).
The application below simply causes an access voilation. I've given the manifest 'highest available' execution rights but nothing seems to have my exception handlers fire and avoid the System error dialog. Thanks in advance
View Complete Post