>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao