ReadProcessMemory to memcpy conversion. Need help

Posted by Phil on Stack Overflow See other posts from Stack Overflow or by Phil
Published on 2010-03-19T07:06:22Z Indexed on 2010/03/19 7:11 UTC
Read the original article Hit count: 346

Filed under:

I'm using:

ReadProcessMemory(hProcess,(PVOID)(dwEngine_DLL+0x2E15C8+i),&memSnap[i],1,NULL); //Store the memory into a byte array

To store a section of memory into an array of byte, but I realized this was sloppy since I'm in the same address space, but I'm not sure how to do the same thing with memcpy.

© Stack Overflow or respective owner

Related posts about memcpy