Results 1 to 3 of 3

Thread: [vb6] Read pointer from a x64 process

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2020
    Posts
    16

    [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

  2. #2

  3. #3
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,653

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width