471,311 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,311 software developers and data experts.

GetExitCodeProcess() type function in c#

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

Nov 15 '05 #1
2 3932
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.