I found that RegOpenKeyEx will fail on Vista when the base path is
HKEY_LOCAL_MACHINE but my app need to read some key there.
Is there any api can ask admin priviledges when launching then I do
not need to click mouse right key and choose admin priviledges from
Vista pop-up menu ?
Thank you .
What access are you asking for when you try to open the key?
If you're inadvertently asking for write permission rather than just
read, change it!
Dave