title: determine if a process is dead or not - by PID
body: <p>I have two different way to check whether a process is still up and running: </p>
  
  <p>1) using GetExitCodeProcess()
  2) walking the list of processes using CreateToolhelp32Snapshot() and checking PIDs</p>
  
  <p>now, in both cases I'm still getting that a process that I terminated with TerminateProcess is till alive even tho it is not.</p>
  
  <p>Is there a way to positively know whether a process is still alive or dead passing the PID?
  thanks!</p>