c++ - Writing with RegCreateKeyEx to windows 8 hklm registry location -


while calling:

::regcreatekeyex( hkey_local_machine,                 "software\\xxx\yyy,                 0,                 null,                 reg_option_non_volatile,                 key_all_access,                 null,                 &hkey,                 &dwdisposition)  

error 5 ("access denied) returned. happening on windows 8. on windows 7 , others writing place. tried put key_wow64_32key|reg_option_non_volatile getting error 57 then.

i can not user make application run admin. there other way access read/write location?

edit: uac turned off. how can installer create key accessible non-elevated program. using wix making installer.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -