Debugged Program Window Won't Close

前端 未结 7 1553
闹比i
闹比i 2021-01-18 00:27

I\'m using VS 2008 on a 64-bit XP machine. I\'m debugging a 32-bit C++ DLL via a console program. The DLL and EXE projects are contained in the same SLN so that I can modify

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 01:04

    Console windows are owned by csrss.exe, which is a system process, and actually the only process that you cannot kill (at least on XP, you can kill the other system processes if you do it in the right order, look for the article "Running Windows with No Services" by Mark Russinovich). So unfortunately, power cycling seems to be the only way to get rid of the zombie console windows.

提交回复
热议问题