Code: Select all
Filename := "C:\windows\system32\kernel32.dll"
Header := "000000"
Content := "Unknown"
File := FileOpen(Filename,"r")
File.Seek(0x3C,0)
Address := File.ReadUInt()
File.Seek(Address-0x3c-4,1)
Header := File.Read(6)
I have noticed that only File.Read(256) actually read 256 bytes in this case,
any call File.Read() with number less than 256 reads only two bytes.
Am I missing something?
AHK U v 1.1.25.1