Article View: borland.public.cppbuilder.nativeapi
Article #15171Re: Stop and startng a service
From: Maurice Anderson
Date: Thu, 17 Jul 2003 20:10
Date: Thu, 17 Jul 2003 20:10
34 lines
2109 bytes
2109 bytes
Thanks, I downloaded it. Would you happen to have any documentation on using the source from the zip? -M- "Giuliano" <gcardinali@remove.adhoc.net> wrote in message news:rghchv4m3v4qqrv0uqpg359inhsjm8i4kv@4ax.com... > On Thu, 17 Jul 2003 08:44:23 +0200, Giuliano <gcardinali@remove.adhoc.net> > wrote: > > >On Wed, 16 Jul 2003 22:53:44 -0700, "Maurice Anderson" > ><mauriceanderson@hotmail.com> wrote: > > > >>Hello, does anyone know how to programatically stop and start a service? I > >>want to stop and start the Tcp/ip service for an app I am writing. Any tips > >>or suggestions that can point me in the right direction would be greatly > >>appreciated. Any code examples is also welcome. > >> > >>Thanks -M- > >> > > > >Have a look at this unit.... > > > >http://81.72.236.130/SvcCtrlMngr.zip > > > >Giuliano > > Ops, I forgot to mention that you have to use (or have a look at) the class > TServiceControlManager. > > Giuliano
Technical Details
Message-ID:
<3f17020b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f163941$1@newsgroups.borland.com> <mdhchv8i6dsqrsemn6heka3sk41uj4cckg@4ax.com> <rghchv4m3v4qqrv0uqpg359inhsjm8i4kv@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,80e98d9661a7c48a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-17 13:12:03 PST From: "Maurice Anderson" <mauriceanderson@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f163941$1@newsgroups.borland.com> <mdhchv8i6dsqrsemn6heka3sk41uj4cckg@4ax.com> <rghchv4m3v4qqrv0uqpg359inhsjm8i4kv@4ax.com> Subject: Re: Stop and startng a service Date: Thu, 17 Jul 2003 13:10:25 -0700 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 209.179.198.80 Message-ID: <3f17020b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058472459 209.179.198.80 (17 Jul 2003 13:07:39 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail