Can the “Application Error” dialog box be disabled?

前端 未结 6 1904
鱼传尺愫
鱼传尺愫 2020-11-29 05:14

I am using Hudson as a continuous integration server to test C/C++ code. Unfortunatly, I have a bug somewhere that causes memory corruption, so on some Windows machines I w

6条回答
  •  粉色の甜心
    2020-11-29 05:41

    You can also do something like this programaticaly using SetErrorMode. See this article for more details.

    A simple example of how to use it is to do the following:

    SetErrorMode(GetErrorMode () | SEM_NOGPFAULTERRORBOX);
    

    The above 'ORs' the current mode with our desired addition.

提交回复
热议问题