Prevent windows from presenting any dialog on native code unhandled exception

Posted by Lucas Meijer on Stack Overflow See other posts from Stack Overflow or by Lucas Meijer
Published on 2010-12-23T10:51:00Z Indexed on 2010/12/23 10:54 UTC
Read the original article Hit count: 303

Filed under:
|

Our buildserver compiles and runs testsuites for many different c++ programs. From time to time the programs are buggy, and can crash.

When they crash, Windows7 will always throw this modal dialog:

alt text

Which has to be clicked away by a human being, causing the buildserver to sit idle.

Is there a way to at a system level prevent this from happening? I know I can do it from within the process itself, but I'd love to be able to do it across the entire system.

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows