I have a handle to a running program called: mytargetHandle
I have the memoraddress: 0x16A20B90
I would like the integer found at that address to be stored in my integer variable: value
On MDSN i findsomething like:
ReadProcessMemory(hProcess, lpBaseAddress, lpBuffer, nSize, NULL);
However....
ReadProcessMemory(mytargetHandle, 0x16A20B90, value, 4, NULL);
gives me:
cannot convert parameter 2 from 'int' to 'LPCVOID'
parameter 2... rigth..... so that means the hex-address......
How to get it to work???? So ill have my variable written in 'value' ??
HELP :confused::confused::confused:
Edited by Dutchman, 12 May 2011 - 04:28 AM.
Partially solved.... / no responses yet...


Sign In
Create Account

Back to top









