Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : How to detect if Windows Service is defined and/or running?

www.cryer.info
Managed Newsgroup Archive

How to detect if Windows Service is defined and/or running?

Subject:How to detect if Windows Service is defined and/or running?
Posted by:"Scott Huerta" (sco..@dissol.com)
Date:Tue, 25 Oct 2005 12:33:51 -0700

I need to execute code depending on if a certain service is defined or
not.  And if it is defined, I need to know if it's running or not.

What's the best way to do this?

Delphi 2005 Architect
Windows XP Pro
Windows 2000/2003 Servers

TIA

Scott

Info

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive