Article View: borland.public.cppbuilder.nativeapi
Article #16097Re: Troubles with services
From: Stefano Bonifazi
Date: Fri, 30 May 2003 08:09
Date: Fri, 30 May 2003 08:09
24 lines
2321 bytes
2321 bytes
"> > By the way now I'm facing up the user rights (and so > > accessing to registry) problem with the service (I > > don't know how to acquire the current user rights) > > You shouldn't really need to worry about that. You should be installing the > service while logged in as an administrator, thus you would have access to > the full Registry and the service would have the necessary rights to update > the description. Well that works fine with HKEY_LOCAL_MACHINE key, but I'd need to access to the HKEY_CURRENT_USER, and my service reports a different tree, I don't know whose user is that, but none of the user I've installed on my machine!!:( ... And another matter is that I can't access to some user files with some access restrictions even if I've installed the service as administrator, and than run it under the same user/administrator!!;( But as told before I think I would better to post this problem as another thread... some other people maybe would find it a useful dial!:) My sincere Best regards!! Stefano B.
Technical Details
Message-ID:
<3ed711ab$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3ed1e176@newsgroups.borland.com> <3ed28fd7$1@newsgroups.borland.com> <3ed3a8c4@newsgroups.borland.com> <3ed3b644$4@newsgroups.borland.com> <3ed46301@newsgroups.borland.com> <3ed4eda2$1@newsgroups.borland.com> <3ed5d3fa@newsgroups.borland.com> <3ed65152$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2bef8d34fe764e59 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-30 01:51:42 PST Reply-To: "Stefano Bonifazi" <stefboombastic@libero.it> From: "Stefano Bonifazi" <stefboombastic@libero.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ed1e176@newsgroups.borland.com> <3ed28fd7$1@newsgroups.borland.com> <3ed3a8c4@newsgroups.borland.com> <3ed3b644$4@newsgroups.borland.com> <3ed46301@newsgroups.borland.com> <3ed4eda2$1@newsgroups.borland.com> <3ed5d3fa@newsgroups.borland.com> <3ed65152$1@newsgroups.borland.com> Subject: Re: Troubles with services Date: Fri, 30 May 2003 10:09:15 +0200 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 212.141.200.217 Message-ID: <3ed711ab$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054282155 212.141.200.217 (30 May 2003 01:09:15 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail