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,
You can use GetExitCodeProcess. It will return STILL_ACTIVE (259) if the process is still running (or if it happened to exit with that exit code :( ).
STILL_ACTIVE