Article View: borland.public.cppbuilder.nativeapi
Article #8725Re: Getting administrator priviliges temporarily
From: Fatih Ekinci
Date: Wed, 29 Sep 2004 21:04
Date: Wed, 29 Sep 2004 21:04
12 lines
1414 bytes
1414 bytes
> else MessageBox (NULL, "RegOpenKeyEx operation failed!", "Registry > operation", MB_OK); > What is the actual value of retval and GetLastError()? I got the same result for both KEY_WRITE and KEY_SET_VALUE using GetLastError(): "Access is denied" and never run RegSetValueEx() function. Fatih
Technical Details
Message-ID:
<415b2446@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f4e17b02ce5b6ff3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Fatih Ekinci" <fekinci42@ttnet.net.tr> 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> Subject: Re: Getting administrator priviliges temporarily Date: Thu, 30 Sep 2004 00:04:53 +0300 Lines: 15 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: 81.212.0.98 Message-ID: <415b2446@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096492102 81.212.0.98 (29 Sep 2004 14:08:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail