Re: RegOpenKeyEx
- From: kiran <kiran.inbng@xxxxxxxxx>
- Date: Thu, 24 Sep 2009 02:56:42 -0700 (PDT)
On Sep 24, 5:48 am, "Remy Lebeau" <no.s...@xxxxxxxxxxx> wrote:
"kiran" <kiran.in...@xxxxxxxxx> wrote in message
news:b41c5c1c-a2e8-44c0-8d35-7ee89c4de314@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Below is the piece of code I am using,
What does the contents of regKey actually look like?
KEY_READ includes KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY
permissions. Does the user account the code is running under actually have
all of those permissions? Since you are only interested in querying for
existance, try KEY_QUERY_VALUE by itself.
--
Remy Lebeau (TeamB)
The regKey is HKEY_LOCAL_MACHINE\SOFTWARE\Google\Google Toolbar
\Component and I have tried with KEY_QUERY_VALUE and the result is
same.
I dont think it is related to permissions because as I said earlier it
works after opening regedit manually.
.
- Follow-Ups:
- Re: RegOpenKeyEx
- From: Remy Lebeau
- Re: RegOpenKeyEx
- References:
- RegOpenKeyEx
- From: kiran
- Re: RegOpenKeyEx
- From: Chris Becke
- Re: RegOpenKeyEx
- From: kiran
- Re: RegOpenKeyEx
- From: Remy Lebeau
- RegOpenKeyEx
- Prev by Date: Re: Console codepages
- Next by Date: Re: Managing Multiple Tracing sessions in ETW for Windows
- Previous by thread: Re: RegOpenKeyEx
- Next by thread: Re: RegOpenKeyEx
- Index(es):
Relevant Pages
|