C++ Programming
08-27-2009, 04:23 PM
I'm trying to call
CRegKey regKey;
dwError = regKey.Create(HKEY_LOCAL_MACHINE, _T("...my path..."));
...but Create() is returning ERROR_ACCESS_DENIED. Thius is under Vista running as a user. Under XP it is fine. Is it possible to create a registy entry in KCLM? How can I grant it access?
Thanks,
Jeff
CRegKey regKey;
dwError = regKey.Create(HKEY_LOCAL_MACHINE, _T("...my path..."));
...but Create() is returning ERROR_ACCESS_DENIED. Thius is under Vista running as a user. Under XP it is fine. Is it possible to create a registy entry in KCLM? How can I grant it access?
Thanks,
Jeff