This is concerning Windows XP processes.
I have a process running, let's call it Process1. Process1 creates a new process, Process2 and saves its id.
Now, at some point Process1 wants Process2 to do something, so it first needs to make sure that process2 is still alive and that the user has not not killed it.
How can I check that this process is still running? Since I created it, I have the Process ID, I would think there is some library function along the lines of IsProcessIDValid( id ) but I can't find it on MSDN