What version of Pywin32 are you running ? There was a recent change to fix a problem with win32gui.EnumWindows in build 218.
Roger "Radu Savutiu" <rsavu...@gmail.com> wrote in message news:cabjn2yikltakugglr7fmh2gbc7vu+ohf_gac8kp3iywnw3y...@mail.gmail.com... >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, Radu Savutiu <rsavu...@gmail.com> wrote: > >> 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? >> > -------------------------------------------------------------------------------- > _______________________________________________ > python-win32 mailing list > python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32 > _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32