RegRead? Seems to not work the same as _L

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
jsong55
Posts: 253
Joined: 30 Mar 2021, 22:02

RegRead? Seems to not work the same as _L

29 Mar 2024, 22:31

Can't seem to get my RegRead to work with the _H interpreter
User avatar
thqby
Posts: 408
Joined: 16 Apr 2021, 11:18
Contact:

Re: RegRead? Seems to not work the same as _L

30 Mar 2024, 01:20

No, it is same as ahk_l.
jsong55
Posts: 253
Joined: 30 Mar 2021, 22:02

Re: RegRead? Seems to not work the same as _L

30 Mar 2024, 22:23

I get this

Code: Select all

Error:  (2) The system cannot find the file specified.

	Line#

--->	008: MachineCode := RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography", "machineGUID")

Try to continue anyway?
---------------------------
Yes   No   
---------------------------
but only on the ahk_H interpreter

_L doesn't throw errors
User avatar
thqby
Posts: 408
Joined: 16 Apr 2021, 11:18
Contact:

Re: RegRead? Seems to not work the same as _L

31 Mar 2024, 00:03

The registry has different views in 64-bit and 32-bit, and if you run this code with AHk_l 32-bit, you'll get the same error.
jsong55
Posts: 253
Joined: 30 Mar 2021, 22:02

Re: RegRead? Seems to not work the same as _L

31 Mar 2024, 02:32

Ah thanks for explaining ok do we have a _H 64bit interpretor
User avatar
thqby
Posts: 408
Joined: 16 Apr 2021, 11:18
Contact:

Re: RegRead? Seems to not work the same as _L

31 Mar 2024, 07:24

The downloaded zip package contains both 32 and 64 bits, doesn't yours?

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 17 guests