finding if a process is running or not
In my MFC Aplication I have started a new process using
"Create Process" function . The process starts up and runs ,
but how do I determine if that process is still running ?
I came across the function
In above function's arguments,
"lpExitTime " is "Pointer to a FILETIME structure that receives the exit time of the process. " But MSDN library also says that if the process has not exited, the content of this structure is undefined.
So , I am stuck . Any help ?