I would like to write an simple application able to retrieve some certain data from another process(application)'s allocated memory.
Say I already know a process' id and I would like to obtain a value in this process' memory always from a fixed offset (like 0x523F1C), is this doable in the user-mode, or it has to be in kernel-mode?
Any hints or info are highly appreciated.
My environment is Windows XP, and I am using Visual C++ and Qt for GUI.
Thanks in advance :)
EDIT:
(a) thanks guys. basically it's working (when setting a break point and hook over the value it's correct), but when doing a normal release build the value obtained is always the initialized :(
will have to work more to figure it out...
(b) Since the application I am trying to obtain value from isn't written by me, can I still do the interprocess communications / shared memory techniques?
EDIT 2:
thanks again for the quick response! :D