Re: [python-win32] Question about Python script

2017-10-17 Thread Tim Roberts
Schoeni, Yann wrote: >   > > I don’t see anything about color depth in the script, do you think I > should define it somewhere ? > >   > > I did this to check that everything was correct before the image was > draw : > >   > > bmp = Image.open (file_name) > > print(bmp.mode) > >   > > The return va

Re: [python-win32] VirtualQueryEx/ReadProcessMemory

2017-10-17 Thread Tim Roberts
On Oct 16, 2017, at 4:39 PM, Michael C wrote: > > >>>Did you acquire the SeDebugPrivilege before calling? > > Eh, no. I don't know what that is! How do I get it? https://www.programcreek.com/python/example/80627/win32con.TOKEN_ADJUST_PRIVILEGES

Re: [python-win32] VirtualQueryEx/ReadProcessMemory

2017-10-17 Thread Tim Roberts
On Oct 16, 2017, at 5:06 PM, Michael C wrote: > > Supposed by using Openprocess and VirtualQueryEx, I have the locations of all > the memory the application is using, wouldn't this to be true? > > Say, a 8 byte data is somewhere in the region i am scanning. Ok, I know by > scanning it like thi