Article View: borland.public.cppbuilder.nativeapi
Article #9782Re: Using ServiceMain()
From: Remy Lebeau (TeamB)
Date: Mon, 07 Jun 2004 18:41
Date: Mon, 07 Jun 2004 18:41
17 lines
1589 bytes
1589 bytes
"Arnie Mauer" <xxx@nowhere.net> wrote in message news:40c4b021$1@newsgroups.borland.com... > I have set up two input parameters on the service's properties > page. However, when the SCM starts the service, both input > parameters are 0. What am I missing? Just to make sure first - you do know that the SCM does not remember command-line parameters for services, don't you? Once you enter parameters and then start a service, the parameters are lost the next time you restart the service again. You have to re-enter the parameters every time you start the service anew. Its design flaws such as that which made me want to write my own SCM just to get around Microsoft's obvious shortcomings. Gambit
Technical Details
Message-ID:
<40c4b7c9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.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-mailReferences:
<40c4b021$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5566683a52e317aa X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40c4b021$1@newsgroups.borland.com> Subject: Re: Using ServiceMain() Date: Mon, 7 Jun 2004 11:41:18 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.169.168.124 Message-ID: <40c4b7c9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086633929 68.169.168.124 (7 Jun 2004 11:45:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.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