Registry ReadString method is not working in Windows 7 in Delphi 7

前端 未结 6 473
感动是毒
感动是毒 2021-01-12 22:03

The following code sample used to return me windows id before, but now it doesn\'t work, and returns empty string, dunno why.

  function GetWindowsID: string         


        
6条回答
  •  孤街浪徒
    2021-01-12 22:43

    You should using this: TRegistry.Create(KEY_ENUMERATE_SUB_KEYS); windows seven UAC won't prevent executing this

提交回复
热议问题