且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

防止Win32进程崩溃时出现模态对话框

更新时间:2023-02-17 15:18:09

取决于谁在抛出对话框,您可能必须组合多种方法.

Depending on who's throwing the dialog, you may have to combine multiple approaches.


    SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);

...将关闭一组对话框.

...will shut up one set of dialogs.