Quote Originally Posted by Alex F View Post
If you have (I hope) enough information about another process, use ReadProcessMemory/WriteProcessMemory functions.
How to use Readprocessmemory?

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' ??