468,525 Members | 2,304 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,525 developers. It's quick & easy.

GetExitCodeProcess() type function in c#

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
Nov 15 '05 #1
2 3817
Try System.Diagnostics.Process.HasExited or use P/Invoke to call
GetExitCodeProcess directly.
Nov 15 '05 #2
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.
Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Terje Slettebř | last post: by
51 posts views Thread by jacob navia | last post: by
23 posts views Thread by René Nordby | last post: by
11 posts views Thread by Brad Pears | last post: by
10 posts views Thread by Richard Heathfield | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.