🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15153

Re: Stop and startng a service

#15153
From: Giuliano
Date: Thu, 17 Jul 2003 06:44
16 lines
1462 bytes
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
Technical Details
Message-ID: <mdhchv8i6dsqrsemn6heka3sk41uj4cckg@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f163941$1@newsgroups.borland.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 00:09:24 PST
From: Giuliano <gcardinali@remove.adhoc.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Stop and startng a service
Date: Thu, 17 Jul 2003 08:44:23 +0200
Message-ID: <mdhchv8i6dsqrsemn6heka3sk41uj4cckg@4ax.com>
References: <3f163941$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.130
X-Trace: newsgroups.borland.com 1058424260 81.72.236.130 (16 Jul 2003 23:44:20 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail