🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can't stop NT Service

#13488
From: Remy Lebeau (TeamB)
Date: Fri, 10 Oct 2003 18:38
21 lines
1788 bytes
"Victor G. Baron" <vgbaron@hotmail.com> wrote in message
news:ihrdovspltl3tccu0ftvm1quraev3vqpg2@4ax.com...

> When I first install the service, it does not start automatically

It is not supposed to.  A service cannot automatically start itself upon
installation, something else has to do so on the service's behalf, whether
that is the user or aninstallation program that installed the service to
begin with.

> I want it to start any time the system is rebooted w/o having
> to manually do it.

That, on the other hand, is a completely different question.  It sounds like
you did not set the service's ServiceType property to stWin32 and/or its
StartType property to stAuto.  Both of those conditions are needed in order
to auto-start at system bootup.


Gambit
Technical Details
Message-ID: <3f86fc3e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <meidovo1ugiqu1hnrvm121bthuc0pgl1d6@4ax.com> <3f86ea06@newsgroups.borland.com> <ihrdovspltl3tccu0ftvm1quraev3vqpg2@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,e4e83a8cd98f5ec
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-10 11:40:32 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <meidovo1ugiqu1hnrvm121bthuc0pgl1d6@4ax.com> <3f86ea06@newsgroups.borland.com> <ihrdovspltl3tccu0ftvm1quraev3vqpg2@4ax.com>
Subject: Re: Can't stop NT Service
Date: Fri, 10 Oct 2003 11:38:36 -0700
Lines: 23
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.75
Message-ID: <3f86fc3e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065811006 67.22.137.75 (10 Oct 2003 11:36:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail