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
Post a Comment