D
Darren Kennedy
(Apologies if posting to wrong group. Is there a Windows 2003 Server
dev group?)
When I run the OpenProcess() function on Windows 2003, I continue to
get a non-NULL handle on a process that has terminated.
HANDLE hProcess = OpenProcess(READ_CONTROL, FALSE, <ProcessId>);
while (hProcess)
{
hProcess = OpenProcess(READ_CONTROL, FALSE, <ProcessId>);
// Process terminates but I keep getting a non-NULL hProcess
}
Works as expected on Windows 2000 but not on Windows 2003 Server.
Any ideas?
Thanks
-Darren
dev group?)
When I run the OpenProcess() function on Windows 2003, I continue to
get a non-NULL handle on a process that has terminated.
HANDLE hProcess = OpenProcess(READ_CONTROL, FALSE, <ProcessId>);
while (hProcess)
{
hProcess = OpenProcess(READ_CONTROL, FALSE, <ProcessId>);
// Process terminates but I keep getting a non-NULL hProcess
}
Works as expected on Windows 2000 but not on Windows 2003 Server.
Any ideas?
Thanks
-Darren