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

前端 未结 6 486
感动是毒
感动是毒 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:39

    Try reading it manually using RegEdit. You may get 'Access Denied' due to a permission issue, in which case look at your level and how you are accessing it.

提交回复
热议问题