[Windows XP] Memory starting address
With witch API Call, can i find the starting address of a process. I need to know for finding offsets.
Regards
[Edited by - lemontree on October 17, 2004 3:25:08 AM]
There is nothing in C++ which will allow you to find that.
Do specify what platform you are interested in (and change your thread title accordingly).
Do specify what platform you are interested in (and change your thread title accordingly).
Quote:Original post by lemontree
Ok, but how can i read something (ex. health) out a memory address, if it`s dynamic.
When you dynamically allocate memory, you get a pointer, which is the address of the memory block you've allocated, and which you then use to access the data you put in that memory block.
There's some debugging related functions somewhere. They'll let you see what pages a program is using, and what they're reserved for, and let you read or write data to them (assuming they aren't read only). I don't remember what they are, but they're there.
Just a note, though: The memory space of a program is virtual. Even if you knew where something was in that program, you couldn't write to that pointer directly from your program; it would point to something else entirely from your program's perspective.
Just a note, though: The memory space of a program is virtual. Even if you knew where something was in that program, you couldn't write to that pointer directly from your program; it would point to something else entirely from your program's perspective.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement