Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PID can run but it can't hide
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00652099
Message ID:
00652358
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Does anyone have any code to test whether a known PID is still running?
>
>Thanks
>

Glenn,
See Message#496824 for a code example. You can use the OpenProcess WinAPI function. The function will return a 0 if the function fails (e.g. if the process doesn't exist anymore).

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform