memory reading and writing problem

08/10/2006 04:44 shitboi#1
hello all,

i learnt to use C++ recently and is trying to write my own little proggy to monitor values in game. Right now i came across a little problem. i can't make my program read the memory addresses. Can someone please tell me the code to reading memory addresses for their values and also the relevant header files to use.


Additional info:
the memory editor i used give me this type of address, eg : 000A09E4, 009207C8. 00BF0EE0 ...


Pros please help. i really want to have a feel of having a program of my own.
08/10/2006 10:40 toreddo#2
i dont think this is easy todo in C++,
but, memory addresses are this in programming language:
0x000A09E4, maybe unkownone knows this.
else i prefer you to use C#
08/10/2006 17:02 unknownone#3
#include <windows.h>

#define ADDRESS = 0x000A09E4

int readvalue=0;
ReadProcessMemory(pHandle, (void*)ADDRESS, (void*)&readvalue, sizeof(readvalue), NULL);
08/11/2006 03:18 KatsuAkimoto#4
Ahahah, unknownone strikes again!
Very good job, "Your C++ is strong."
----------------(Lame Star Wars Allusion)----------------