无法杀死的控制台窗口

发布于 2024-08-26 21:29:25 字数 290 浏览 3 评论 0原文

我正在 Visual C++ 2008 下使用 GLUT 开发基于 OpenGL 的 2d 模拟,有时当我遇到断言()或未处理的异常并闯入调试器时,GLUT 显示窗口关闭,但控制台窗口保持打开状态。它们只是不能杀了!!!

它们不会出现在任务管理器、进程资源管理器或任何其他工具中,我也无法使用 Spy++ 工具找到窗口句柄。

最糟糕的是它们阻止我的系统(Windows XP)关闭,我必须手动关闭电源(当然我必须在我的驱动器上运行 chkdsk,它总是会在错误关闭后发现并修复小错误)

有没有人遇到过这样的 情况问题?

I'm developing an OpenGL based 2d simulation with GLUT under Visual C++ 2008, sometimes when I have an assert() or unhandled exception and break into the debugger, the GLUT display window closes, but the console window remains open.They just cant be killed!!!

They do not show up with Task manager, Process Explorer or any other tool, I cannot find the window handle using the Spy++ tool either.

Worst thing is they prevent my system (Windows XP) from shutting down, I have to manually poweroff (and of course I have to run chkdsk on my drives and invariably it finds and fixes minor errors after bad shutdowns)

Has anyone come across such an issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一场信仰旅途 2024-09-02 21:29:25

这是驱动程序问题。除了希望获得更新的驱动程序之外,您无能为力。

It's a driver problem. There's nothing you can do besides hope that you get an updated driver.

我很坚强 2024-09-02 21:29:25

几个月前,当我在 XP 上调试一个简单的控制台应用程序时,我开始注意到这一点 - 不确定这是否是由于我们从 VS2005 切换到 VS2008 或者来自 MS 的一些补丁。

I started noticing this several months ago when debugging a simple console application on XP - not sure if it was due to our switch from VS2005 to VS2008 or some patch from MS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文