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