Article View: borland.public.cppbuilder.nativeapi
Article #12901Re: Remote start/stop services API
From: Remy Lebeau (TeamB)
Date: Thu, 13 Nov 2003 01:48
Date: Thu, 13 Nov 2003 01:48
14 lines
1464 bytes
1464 bytes
"Conny H๏ฟฝkansson" <conny@allimac.se> wrote in message news:3fb2e0cb@newsgroups.borland.com... > 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. Gambit
Technical Details
Message-ID:
<3fb2e215@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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,c647702f5d5247bb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-12 18:09:42 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fb2e0cb@newsgroups.borland.com> Subject: Re: Remote start/stop services API Date: Wed, 12 Nov 2003 17:48:19 -0800 Lines: 16 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: 67.22.137.149 Message-ID: <3fb2e215@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1068687893 67.22.137.149 (12 Nov 2003 17:44:53 -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