Can my program edit another program's registry entries in Windows 7?
If the entry is开发者_JAVA百科 in HKEY_CURRENT_USER, can I just have my program add a key and value to any key in there?
Thanks.
Yes; any program can write to any key in HKCU.
There are no per-application permissions.
However, unelss you have a good reason to, you should avoid doing so.
Yes, the registry is wide open to modification if you are running with administrative privileges on the machine.
精彩评论