win32.getRegistry()

Moderator: admin

win32.getRegistry()

Postby imxuf92 » Thu Mar 08, 2018 2:19 am

I'm trying to read a value from the registry, specifically the "MachineGuid" value for the purpose of locking the indicator to a user's machine.

The code I'm using is as follows:

Code: Select all

 local value = win32.getRegistry("HKLM SOFTWARE\\Microsoft\\Cryptography", "MachineGuid");



but "value" always returns 'nil'. I have confirmed the value exists via RegEdit.

Can someone confirm that this function still works? Has anyone tried it on Windows 10?
Perhaps there is a permissions issue?
imxuf92
 
Posts: 26
Joined: Sat Jan 23, 2016 6:55 pm

Re: win32.getRegistry()

Postby Apprentice » Sun Mar 11, 2018 6:10 am

Forwarded to the development team.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: win32.getRegistry()

Postby dtb71fxcm » Mon Oct 24, 2022 6:07 pm

I know this was posted years ago... but it's still not working :o
Is there any update or forecast for when this will be fixed?
Is there any workaround available ?

Thanks
User avatar
dtb71fxcm
 
Posts: 44
Joined: Sat May 05, 2012 9:28 pm


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 7 guests