Question

I have the handle of process 'A' on a Pocket PC 2003 device. I need to determine if that process is still running from process 'B'. Process 'B' is written in Embedded Visual C++ 4.0.

Was it helpful?

Solution

GetExitCodeProcess will return STILL_ACTIVE if the process was running when the function was called.

OTHER TIPS

Process handles are waitable. They are signalled - will release any waiting thread - when the process exits. You can use them with WaitForSingleObject, WaitForMultipleObjects, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top