changing memory values.

Greetings
i need to know how to change values of specific memory addresses in c++. So far i have been using a utility for this job (cheatengine) but thought if i do this in c++ i might actually learn something :-)

1
2
3
say the process name is: "bobdole.exe"
memory address: "04A96990"
memory type: "float"


we know for this value will allways be in the same address every time the program is loaded into memory.

i gave this a try: c++ tut on memory manipulation (site keeps crashing my firefox)
and i cant get the code to compile, gives me 50 errors, maybe because it was writen in c++.net? i am using standard c++.

(you are dealing with a c++ newby )
any help will be greatly appreciated.
i cant get the code to compile, gives me 50 errors, maybe because it was writen in c++.net

<understatement>I think you're on the right track.</understatement>

Direct memory manipulation hasn't been possible in any fancy OS since around the 2000. If you tray that now, all you'll get is a segmentation fault (Windows won't tell you it's called that, but it is) from the OS and an automatic kill.
There probably is some way to do it, but I doubt it is the one you're using. It probably involves loading the program through yours or something.

I'd very much like to see that page. Link?
sorry, i htought i posted the link
http://www.dreamincode.net/forums/showtopic33779.htm

i am currently using cheat engine. 3rd party software. mostly writen in delphi. i do not know wat methode they use to change memory values. it is open source, but i have 0 experience with delphi.
Last edited on
Topic archived. No new replies allowed.