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 COM. EnumWindows is a GDI call. EnumWindows does nothing but stroll through a data structure. It cannot pause. It's more likely that your callback is doing something time consuming. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32