[python-win32] win32file.ReadDirectoryChangesW in asynch mode?

2009-02-04 Thread Eric Blade
It appears that sometime in the last year, year and a half or so, someone made the necessary changes to win32file to get ReadDirectoryChangesW up and working in Asynch mode, which is something that I would find very nice to be able to use right now .. however, the docs are making my head swim. Any

Re: [python-win32] win32file.ReadDirectoryChangesW in asynch mode?

2009-02-04 Thread Eric Blade
Thanks, Mark. That's a lot more complex than what I need to implement, and it'll take some time to digest, but even so, it's way better than the docs that look like someone updated them a bit at a time. On Thu, Feb 5, 2009 at 12:39 AM, Mark Hammond wrote: > On 5/02/2009 4

[python-win32] reliability issues with ReadDirectoryChangesW

2009-02-07 Thread Eric Blade
I am getting significantly unreliable results using ReadDirectoryChangesW, attempting to use a simplified version of the codes that had been presented to me in my last query for help.. It's kind of messy, but here's the relevant bits of code.. if os.name == 'nt':

Re: [python-win32] ReadDirectoryChangesW

2009-02-09 Thread Eric Blade
> Eric Blade wrote: >> I am getting significantly unreliable results using >> ReadDirectoryChangesW, attempting to use a simplified version of the >> codes that had been presented to me in my last query for help.. > > Eric, can you say what results you *are* gettin

Re: [python-win32] ReadDirectoryChangesW

2009-02-18 Thread Eric Blade
hi all.. sorry, i haven't been able to get back here, we've had a bunch of issues in life (work, car death, children, etc) and i haven't been able to spend a lot of time working on this .. was there anything obvious that i'm doing with the Windows calls? that's the only place that I can figure out

Re: [python-win32] trying to grab exe of foreground window

2009-07-23 Thread Eric Blade
I've done some pretty extensive work with determining name of executeables belonging to a window by Window Handle .. and here's what I've come up with ,that seems to work 100% of the time, even on Vista: # Request privileges to enable "debug process", so we can later use PROCESS_VM_READ, r

[python-win32] determining information about a window

2009-08-09 Thread Eric Blade
This is kind of a weird question - I have a process that has two windows with the exact same name. I need to figure out some way to differentiate between the two windows - what functions are there available that I can call to find out information about the two windows, so that I might be able to f

Re: [python-win32] determining information about a window

2009-08-10 Thread Eric Blade
9 at 11:05 AM, Dave Angel wrote: > Eric Blade wrote: >> >> This is kind of a weird question - I have a process that has two >> windows with the exact same name.  I need to figure out some way to >> differentiate between the two windows - what functions are there >

Re: [python-win32] python-win32 Digest, Vol 77, Issue 13

2009-08-10 Thread Eric Blade
> > As a human being, how would you decide which one you need? > > That sounds flippant, but I'm being serious.  If you can describe the > decision-making process you would go through, then I think we can help > you create a program that does the same thing. What I need is a function that will tel

[python-win32] problem with GetModuleFileNameEx in x64

2009-10-28 Thread Eric Blade
Hi! Installed Win 7 x64 (replaced win xp x86) this week. My python software (free poker database / fpdb) has been working just fine since. However, i start it up today, and now I get: ***Error: get_nt_exe(281): (299, 'GetModuleFileNameEx', 'Only part of a ReadProcessMemory or WriteProcessMemory