Unkillable console windows

这一生的挚爱 提交于 2019-12-12 09:52:38

问题


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?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/2506256/unkillable-console-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!