Article View: borland.public.cppbuilder.nativeapi
Article #12900Re: Remote start/stop services API
From: Conny H�kansson
Date: Thu, 13 Nov 2003 01:56
Date: Thu, 13 Nov 2003 01:56
13 lines
1502 bytes
1502 bytes
> > Anyone know any API that can be used to start and stop services remotly? > > There is only one set of API functions for doing that, whether its local or > remote - StartService() and ControlService(). The trick is in the > OpenSCManager() function. It takes as parameters information about the > remote machine to connect to. Everything that is done is in relation to > the machine/database that has been opened. Ok, thanks again. I will look into this API. I figure i will get back to you on this issue later on. :-) /C
Technical Details
Message-ID:
<3fb2e4ca$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fb2e0cb@newsgroups.borland.com> <3fb2e215@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c647702f5d5247bb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-12 18:09:42 PST From: "Conny H�kansson" <conny@allimac.se> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fb2e0cb@newsgroups.borland.com> <3fb2e215@newsgroups.borland.com> Subject: Re: Remote start/stop services API Date: Thu, 13 Nov 2003 02:56:25 +0100 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 217.215.164.250 Message-ID: <3fb2e4ca$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068688586 217.215.164.250 (12 Nov 2003 17:56:26 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail