[vb6] Read pointer from a x64 process
Hello friends,
I need to read pointer from a x64 process. It was working fine in x86 program, now I need it working reading base address from x64 process
Code:
Public Declare Function ReadProcessMemory Lib "kernel32" ( _
ByVal hProcess As Long, _
ByVal lpBaseAddress As Any, _
ByRef lpBuffer As Any, _
ByVal nSize As Long, _
ByRef lpNumberOfBytesRead As Long) As Long
Re: [vb6] Read pointer from a x64 process
Re: [vb6] Read pointer from a x64 process
If you need more extensive interaction you could compile your VB6 app to 64bit with twinBASIC, changing neccessary Longs to LongPtrs and updating pointer math, or if there's bugs/unimplemented features preventing that a small helper process.