I'm writing a tweak utility that modifies some keys under HKEY_CLASSES_ROOT
.
All works fine under Windows XP and so on. But I'm getting error Requested registry access is not allowed
under Windows 7. Vista and 2008 I guess too.
How should I modify my code to add UAC support?