Hi.
I am trying to make a cheat/anticheat program for old games.
How can you read used memory/RAM? Is it a C++ libary for it? Or do I have to learn assembler, and some hardware?
If so, exactly what do i have to learn of assembly and hardware?![]()
This is a discussion on Read memory within the C++ Programming forums, part of the General Programming Boards category; Hi. I am trying to make a cheat/anticheat program for old games. How can you read used memory/RAM? Is it ...
Hi.
I am trying to make a cheat/anticheat program for old games.
How can you read used memory/RAM? Is it a C++ libary for it? Or do I have to learn assembler, and some hardware?
If so, exactly what do i have to learn of assembly and hardware?![]()
http://livebad.com/nuka
Da-Nuka
Well you have to say which OS/Compiler you're using.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
every time you use malloc(), new, read from a file, read from serial ports, and a whole holst of other functions, the program is reading and using memory in either RAM or on disk. So you will have to be just a tad more specific about your question.Originally Posted by Da-Nuka
oh, sorry.
I am using Windows XP, and i am using the DevC++ compiler.
I want to make a function like this:
Or in words, a way to read ALL the memorycells( on the RAM) on the computer, at all times.Code:readMem() { byte memory[100000]; int Start=0; int End=GetLastMemory(); while(Start < End) { bytememory[start]=ReadMemoryCell[start]; start++; } }
http://livebad.com/nuka
Da-Nuka
That's not so easy. XP won't let you alwais read the memory of another process. check out ReadProcessMemoryOriginally Posted by Da-Nuka
Kurt