Per application disabling of WER "has stopped working" dialog

216 Views Asked by At

I have a VC++ application with my own unhandled exception handler. I would like to prevent the WER "program has stopped working" message box from appearing when there is a crash. Using SEM_NOGPFAULTERRORBOX does this, but it also seems to disable WER so that nothing is stored in the event logs. I would like WER to work normally storing an event, but just prevent the message box from appearing.

It sounds like the registry key DontShowUI=1 might do this but it seems to be global for the whole machine or user. So it would affect all other applications that the user might run.

Is there some way of doing this but only for my one application/exe ?

0

There are 0 best solutions below