GetExitCodeProcess() type function in c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
i need a function like GetExitCodeProcess() type function in c#, cause i need to know the status of a process
how do i track the status of a process , whether the process is running or exited

in my application iam invoking an exe of unmanaged code which is written in vc++, and i need to track the status of that process
i know that GetExitCodeProcess() is there in c++ but i want the same functionality of a function in c

--------seash
 
Try System.Diagnostics.Process.HasExited or use P/Invoke to call
GetExitCodeProcess directly.
 
but i didnt started the process , i only get processID of the exe that is executing through a function which called the exe through a DLL
i there any way that ican say that the process is still executing or dead.
 
Back
Top