Article View: borland.public.cppbuilder.nativeapi
Article #17574Re: Run Service under a given user
From: Simon Macneall
Date: Mon, 17 Mar 2003 00:24
Date: Mon, 17 Mar 2003 00:24
16 lines
1466 bytes
1466 bytes
"Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> wrote in news:3e7173b0$1@newsgroups.borland.com: > What you ask for would require you to alter the service's > configuration. You can't just start the service programmably with a > given user account directly. You need to either 1) use the SCM to > manually change the account, 2) specify the account programmably via > CreateService() if installing the service programmably, or else 3) use > the ChangeServiceConfig() function to alter an existing service. > Thanks Gambit, One of those solutions should suit us Simon
Technical Details
Message-ID:
<Xns934155DFA6F1macnealliinetnetau@207.105.83.65>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<Xns933E87F54F0B0macnealliinetnetau@207.105.83.65> <3e7173b0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f5533a726961dde4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-16 16:28:05 PST Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Run Service under a given user From: Simon Macneall <macneall-at-iinet.net.au> References: <Xns933E87F54F0B0macnealliinetnetau@207.105.83.65> <3e7173b0$1@newsgroups.borland.com> Message-ID: <Xns934155DFA6F1macnealliinetnetau@207.105.83.65> User-Agent: Xnews/5.04.25 NNTP-Posting-Host: 203.161.112.198 Date: 16 Mar 2003 16:24:11 -0800 X-Trace: newsgroups.borland.com 1047860651 203.161.112.198 (16 Mar 2003 16:24:11 -0800) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail