ReadProcessMemory don't work 32 bit.

Posts 1–4 of 4 · Page 1 of 1
ReadProcessMemory don't work 32 bit.
Hi,

I'm using Read Process Memory.
My computer is: Win7 x64.


Code:
ReadProcessMemory(GetCurrentProcess(),(LPVOID)adr,&Final,sizeof(Final),NULL);
work on 64 bit but don't work 32 bit.Help me
Quote Originally Posted by bylalaker1 View Post
Hi,

I'm using Read Process Memory.
My computer is: Win7 x64.


Code:
ReadProcessMemory(GetCurrentProcess(),(LPVOID)adr,&Final,sizeof(Final),NULL);
work on 64 bit but don't work 32 bit.Help me
What kind of errors are you getting?
wouldn't the sizeof(Final) be different sizes on 32 and 64 bit?
Why would you use WPM for your own memory?
Use; Final = *(DataType *)Address;
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us