re: ReadProcessMemory question

2007-11-17 Thread Dan Kegel
Dave wrote: I am trying to read the memory of another process with ReadProcessmemory and I can only get it to work when I commit the entire region I want to read with VirtualAllocEx - but as you probably know when I do this it initializes the entire memory region to 0s. So my question is how

Re: ReadProcessMemory question

2007-11-17 Thread Robert Shearman
Dave Cartright wrote: I am trying to read the memory of another process with ReadProcessmemory and I can only get it to work when I commit the entire region I want to read with VirtualAllocEx - but as you probably know when I do this it initializes the entire memory region to 0s. So my

ReadProcessMemory Question

2007-11-17 Thread Dave Cartright
I am trying to read the memory of another process with ReadProcessMemory but I can only get it to work when I use VirtualAllocEx to commit the region of memory - problem is (as you very well know) that VirtualAllocEx initializes the region with 0s. So my question is how do I get