This is the red part index = current_address end = current_address + mbi.RegionSize
while index < end: if ReadProcessMemory(Process, index, ctypes.byref(buffer), \ ctypes.sizeof(buffer), ctypes.byref(nread)): ## value comparison to be implemented. pass else: raise ctypes.WinError(ctypes.get_last_error()) index += 1 On Oct 8, 2017 12:16 PM, "Mats Wichmann" <m...@wichmann.us> wrote: > On 10/08/2017 11:20 AM, Michael C wrote: > > Hi all: > > > Now, I know the problem is not with VirtualQueryEx, because if I comment > out > > the red part and just run VirtualQueryEx, it would actually skim through > > all regions > > without a single error. > > > > The red part is the problem. > > what red part? colors don't come through mailers that use text-based > settings. This is an example of what your mail looks like to many of us: > > https://mail-archive.com/tutor@python.org/msg77570.html > > please explain in words. > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor