Registry access in non-admin mode

前端 未结 6 1258
暗喜
暗喜 2020-12-17 01:55

I\'ve several long-standing apps written in Delphi that persist their settings in the registry. I\'ve used HKEY_LOCAL_MACHINE for \'hard\' settings such as configuration pre

6条回答
  •  我在风中等你
    2020-12-17 02:42

    One option, which I don't favour but will mention, is to give everyone (or a defined group etc) permission to access your key. There are various ways to do this, and there is code in the JCL that will do it, or you can use Regedit. But if you give permission (to that specific branch of HKLM) then it will work as you intended.

提交回复
热议问题