Article View: borland.public.cppbuilder.nativeapi
Article #8727Re: Getting administrator priviliges temporarily
From: Remy Lebeau (TeamB)
Date: Wed, 29 Sep 2004 21:47
Date: Wed, 29 Sep 2004 21:47
14 lines
1514 bytes
1514 bytes
"Fatih Ekinci" <fekinci42@ttnet.net.tr> wrote in message news:415b2446@newsgroups.borland.com... > I got the same result for both KEY_WRITE and KEY_SET_VALUE using > GetLastError(): > > "Access is denied" Does the key exit in the first place? What happens if you try using RegCreateKeyEx() instead of RegOpenKeyEx()? Gambit
Technical Details
Message-ID:
<415b2f48$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41566608@newsgroups.borland.com> <4156a465$1@newsgroups.borland.com> <415880b8@newsgroups.borland.com> <41592480$1@newsgroups.borland.com> <4159c77b@newsgroups.borland.com> <4159c88d$1@newsgroups.borland.com> <415a81cd@newsgroups.borland.com> <415ae8b6$1@newsgroups.borland.com> <415b2446@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f4e17b02ce5b6ff3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41566608@newsgroups.borland.com> <4156a465$1@newsgroups.borland.com> <415880b8@newsgroups.borland.com> <41592480$1@newsgroups.borland.com> <4159c77b@newsgroups.borland.com> <4159c88d$1@newsgroups.borland.com> <415a81cd@newsgroups.borland.com> <415ae8b6$1@newsgroups.borland.com> <415b2446@newsgroups.borland.com> Subject: Re: Getting administrator priviliges temporarily Date: Wed, 29 Sep 2004 14:47:43 -0700 Lines: 16 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.69.17.41 Message-ID: <415b2f48$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096494920 68.69.17.41 (29 Sep 2004 14:55:20 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail