On Tue, 20 Mar 2001 16:32:56 +1200, you wrote:

>Afternoon all,
>
>Is there any way to see if a process is running (under NT 4.0) if I know the
>ImageName but not the Process ID?
>
>I need to do a check to see if a particular process is running for an end of
>day routine.

Look up PDH.dll  (Performance Data Helper) in MSDN or similar.

This has functions that allow you to enumerate the running processes.

-- 

Peter S Ingham               [EMAIL PROTECTED]
Lower Hutt, New Zealand
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

Reply via email to