Article View: borland.public.cppbuilder.nativeapi
Article #13489Re: Can't stop NT Service
From: Victor G. Baron
Date: Fri, 10 Oct 2003 19:50
Date: Fri, 10 Oct 2003 19:50
40 lines
2099 bytes
2099 bytes
Thanx again, Gambit. Made the changes and it works as I expected. All is well. Vic On Fri, 10 Oct 2003 11:38:36 -0700, "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote: > >"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 > -- Vic Baron I haven't lost my mind, it's backed up on disk somewhere! UPDATE!!-- I have lost my mind.
Technical Details
Message-ID:
<5a3eovgedd8k7gqq2i0tcdoqi2bo48ehha@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<meidovo1ugiqu1hnrvm121bthuc0pgl1d6@4ax.com> <3f86ea06@newsgroups.borland.com> <ihrdovspltl3tccu0ftvm1quraev3vqpg2@4ax.com> <3f86fc3e$1@newsgroups.borland.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 13:09:35 PST From: Victor G. Baron <vgbaron@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Can't stop NT Service Date: Fri, 10 Oct 2003 12:50:19 -0700 Message-ID: <5a3eovgedd8k7gqq2i0tcdoqi2bo48ehha@4ax.com> References: <meidovo1ugiqu1hnrvm121bthuc0pgl1d6@4ax.com> <3f86ea06@newsgroups.borland.com> <ihrdovspltl3tccu0ftvm1quraev3vqpg2@4ax.com> <3f86fc3e$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.175.210.162 X-Trace: newsgroups.borland.com 1065815442 64.175.210.162 (10 Oct 2003 12:50:42 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail