Accessing virtual memory - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Accessing virtual memory

How can I access another process virtual memory space???

nICO

[hr]
[italic]How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.[/italic]
JOHN KEATS

Comments

  • bikibiki Posts: 492Member
    [code]
    BOOL ReadProcessMemory(
    HANDLE hProcess, // handle to the process whose memory is read
    LPCVOID lpBaseAddress,
    // address to start reading
    LPVOID lpBuffer, // address of buffer to place read data
    DWORD nSize, // number of bytes to read
    LPDWORD lpNumberOfBytesRead
    // address of number of bytes read
    );
    [/code]

    [hr][red]~Bikram[/red]

  • chick80chick80 Posts: 349Member
    Thank you, it worked fine!

    nICO

    [hr]
    [italic]How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.[/italic]
    JOHN KEATS


Sign In or Register to comment.