S
Schmidtmayer Marc
Hi all,
We are migrating from NT to Server 2003/XP.
Now I have a problem with an existing service/application.
This application starts some EXE's/CMD's with CreateProcess() and
'remembers' their PID's.
Then each thread checks if its PID is still 'active' by calling the
OpenProcess()-function and with the PID as argument.
That way, we can decide if the process is still active.
So, under NT ... no problem !
BUT under XP ... PROBLEM !!!
Under XP, the OpenProcess() KEEPS RETURNING A HANDLE EVEN WHEN THE
PROCESS IS NOT ACTIVE ANYMORE !!!!
These posts mention the same problem, but there was never a reaction :
http://groups.google.be/[email protected]&rnum=1
http://groups.google.be/[email protected]&rnum=37
Can anyone help me out please ?
Can it be fixed or is there a 'work-around' ?
Help is very welcome !
Thanks,
Marc.
We are migrating from NT to Server 2003/XP.
Now I have a problem with an existing service/application.
This application starts some EXE's/CMD's with CreateProcess() and
'remembers' their PID's.
Then each thread checks if its PID is still 'active' by calling the
OpenProcess()-function and with the PID as argument.
That way, we can decide if the process is still active.
So, under NT ... no problem !
BUT under XP ... PROBLEM !!!
Under XP, the OpenProcess() KEEPS RETURNING A HANDLE EVEN WHEN THE
PROCESS IS NOT ACTIVE ANYMORE !!!!
These posts mention the same problem, but there was never a reaction :
http://groups.google.be/[email protected]&rnum=1
http://groups.google.be/[email protected]&rnum=37
Can anyone help me out please ?
Can it be fixed or is there a 'work-around' ?
Help is very welcome !
Thanks,
Marc.