English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to make a program that will change the value storred in the adress "2002C" of the process "whatsup" to 15 .Can you poste the sorce code in C++ for such a thing ?I couldn't find the proper sintax .

2006-10-18 08:25:43 · 3 answers · asked by d13 666 2 in Computers & Internet Programming & Design

Ok , man I'll be honest and tell you why I really wanted to know such a thing .There's these programs like "RamCheat" that say that they do change the memory adress or something ,and they
work.But I don't know how they work , and I't really no fun using them since I didn't make them .I heard it was possible to do such a thing a c++ (I know a little c++ , I didn't have time to learn because of all the junk at school) .

2006-10-19 06:33:49 · update #1

3 answers

Just to support what n0body said, you should not do it. Apart from not knowing what could happen to your computer as a result of what you are attempting to do, you probably do not understand how the computer, memory, and all that work together. If you need to use such a program, I would say just use it. If you want to learn, you will need to know how computers work (at a low level). Then you will need to learn how each individual Operating System works. You may also need to know how individual processors work.

2006-10-24 03:14:48 · answer #1 · answered by Mark aka jack573 7 · 0 0

Since you're looking at a memory address rather than a variable, you'll probably be better off to change the value using embedded assembler to move 15 directly into that address. If that's not an option, then you'll have to have a variable name as opposed to a memory address.

2006-10-18 08:49:50 · answer #2 · answered by iuneedscoachknight 4 · 0 0

you cannot do that, even in windoze.
Since msdos era ended, no sane OS will let you access another process' address space, unless you are running in the kernle mode, which, judging from the level of you question, one should wholeheartedly hope that you are not.

2006-10-18 09:19:34 · answer #3 · answered by n0body 4 · 1 0

fedest.com, questions and answers