Read Process Memory in C++

Ok:

  1. hacking online games is not considered cool;

  2. ReadProcessMemory does not return an int, nor should it have an int as a parameter where you are using them;

  3. The first parameter for ReadProcessMemory is not the “name” for a process, but a process handle. You’ll have to find the handle using EnumProcesses etc.

Leave a Comment