Re: Slightly OT: Find a window with no process ID???
- From: "James Brown" <email@xxxxxxxxxxxxxxx>
- Date: Thu, 28 Dec 2006 21:05:14 -0000
"Eric Hill" <eric@xxxxxxxxx> wrote in message news:op.tlaavss8sqk0wa@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a command prompt window open on my desktop. I can move the window, minimize it, and maximize it. The last line on the screen is "exit". There is no cmd.exe process listed in the Task Manager, but the cmd.exe window is shown under Applications.
W--T--F--?
How can a window be active with no underlying process, and furthermore, since there is no process to close the window, how can I close the window without rebooting the computer???
Thanks,
Eric
Although console windows are owned by the client application, they are also maintained by csrss.exe (which you can't kill). Sounds like csrss has gone into a funny state and hasn't destroyed the window when the client app died. Maybe the client was being debugged and didn't exit cleanly....
you could try 'winspy++' from my website which can close some windows....but probably you need to log off/on or reboot.
--
James Brown
Microsoft MVP - Windows SDK
www.catch22.net
Free Win32 Tutorials and Sourcecode
.
- References:
- Slightly OT: Find a window with no process ID???
- From: Eric Hill
- Slightly OT: Find a window with no process ID???
- Prev by Date: Re: Having .PDB files assigned different names based on version number of executable
- Next by Date: Re: Windows vista
- Previous by thread: Slightly OT: Find a window with no process ID???
- Next by thread: Re: Windows vista
- Index(es):
Relevant Pages
|