Im using ReadProcessMemory() to read parts of the memory in both my process and one other process. I need to find out the SIZE of the memory being used by the other process before I use ReadProcessMemory, so that I know how big to set my buffer before I read it in, especially as according to MSDN "The entire area to be read must be accessible, or the operation fails"
Does anybody have any ideas what API calls are needed to find out the size of the memory space area of a process? I've tried with VirtualQuery, VirtualQueryEx and GetWorkingSetSize, but to no avail
------------------
Does anybody have any ideas what API calls are needed to find out the size of the memory space area of a process? I've tried with VirtualQuery, VirtualQueryEx and GetWorkingSetSize, but to no avail
------------------
Comment