Re: [python-win32] win32gui.EnumWindows does not work on worker threads

2013-02-06 Thread Radu Savutiu
I appreciate answers received, however none worked for me. It turned out replacing win32gui.EnumWindows with ctypes.windll.user32.EnumWindows - and then it worked. Maybe there is an error with win32gui's implementation? The code is really vast, I can't post it. On Mon, Jan 28, 2013 at 5:34 PM,

Re: [python-win32] win32gui.EnumWindows does not work on worker threads

2013-01-28 Thread Tim Roberts
Radu Savutiu wrote: > > I have multiple scripts in which i used win32gui.EnumWindows. > So far they all worked - but now it seems they pause on this call to > EnumWindows. > > I suspect this has nothing to do with pythoncom, as I use CoInitialize > there and it works. No, it has nothing to do with

Re: [python-win32] win32gui.EnumWindows does not work on worker threads

2013-01-28 Thread Tim Golden
On 28/01/2013 15:34, Radu Savutiu wrote: > I have multiple scripts in which i used win32gui.EnumWindows. > So far they all worked - but now it seems they pause on this call to > EnumWindows. > > I suspect this has nothing to do with pythoncom, as I use CoInitialize > there and it works. It's not

[python-win32] win32gui.EnumWindows does not work on worker threads

2013-01-28 Thread Radu Savutiu
Hi all, I have multiple scripts in which i used win32gui.EnumWindows. So far they all worked - but now it seems they pause on this call to EnumWindows. I suspect this has nothing to do with pythoncom, as I use CoInitialize there and it works. Any ideas? __