Suppress Application Error window on application crash

by dee 17. January 2008 01:19

The only way I could find is to call SetErrorMode() function of Win32 API:

SetErrorMode(SetErrorMode(SEM_NOGPFAULTERRORBOX) | SEM_NOGPFAULTERRORBOX);

Unfortunately I was not able to find the way of disabling that dialog for process which we are starting (Process.Start()).

Powered by BlogEngine.NET 1.4.0.0
Theme by Mads Kristensen