【发布时间】:2010-12-17 12:58:02
【问题描述】:
我在自动测试运行期间收到调试关闭对话框(foo.exe 遇到问题,需要关闭。)。我想禁用此功能,以便我的应用程序静默死机(或使用命令行消息)。
最接近我找到的解决方案是: http://support.microsoft.com/default.aspx?scid=kb;EN-US;188296 这会禁用该对话框上的调试按钮,但我仍然会收到带有关闭按钮的对话框。
我也尝试了来自How do I disable the 'Debug / Close Application' dialog on Windows Vista? 的解决方案,该解决方案在 Windows XP 上不起作用。
【问题讨论】:
-
没有安装 Visual Studio 的机器上将不存在该对话框。
-
谢谢。我已经安装了 Windows SDK,所以我想这也是如此。这台机器也是我的构建机器,所以我需要 SDK 或 Visual Studio。
标签: testing windows-xp