Ticket #1871: test.au3

File test.au3, 412 bytes (added by solid_light@…, 13 years ago)

Broken RegRead on Win64 using Win32 mode

Line 
1#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
2#AutoIt3Wrapper_UseX64=n
3#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
4
5$7Zip = ""
6$7Zip = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip", "Path") & "7z.exe"
7MsgBox(0,FileExists($7Zip),$7Zip)
8
9; Comment-Toggle the first 3 lines under Win64 using AutoIt v3.3.6.0
10; When those 3 directives are present, RegRead ceases to function