Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Nov : New service - how to find out dependency?

www.cryer.info
Managed Newsgroup Archive

New service - how to find out dependency?

Subject:New service - how to find out dependency?
Posted by:"Arthur Hoornweg" (antispam.hoornweg@casema.nl.net)
Date:Thu, 22 Nov 2007 11:20:41

Hello all,

I'm writing an NT Service that manages the daily updating of the password
of a certain administrator account. It uses functions such as
NetUserGetInfo()
and NetUserSetInfo(). Of course the service itself will run in the
context of
yet another administrator account.


How do I find out the dependencies (i.e. which other services need to be
running before it is safe to start mine) ?

My best gamble so far would be the LanmanWorkstation service.


--
Arthur Hoornweg

(In order to reply per e-mail, please just remove the ".net"
  from my e-mail address. Leave the rest of the address intact
  including the "antispam" part. I had to take this measure to
  counteract unsollicited mail.)

Replies:

www.cryer.info
Managed Newsgroup Archive