[python-win32] com events while running wx main loop
Christian K
ckkart at hoc.net
Sat Apr 21 01:19:29 CEST 2007
Thomas Heller wrote:
> Christian K. schrieb:
>>> Second, if you are running the exact sample that I posted then it should work
>>> for InternetExplorer, and with slight changes also for Outlook. At least
>>> it worked for me.
>> Well, here it doesn't.
>
> comtypes uses fairly extensive logging calls in certain areas. You can enable this
> to find out the reason. Here is a little code snippet that shows what happens on
> my system when I call GetEvents() with Internet Explorer:
>
> <code>
> from comtypes.client import CreateObject, GetEvents
> import logging
> ie = CreateObject("InternetExplorer.Application")
> logging.basicConfig(level=logging.DEBUG)
> GetEvents(ie, sink=object())
> <code/>
Thank you very much for all your help so far. I'll be quiet for the next two
weeks since I'm out of town.
Christian
More information about the Python-win32
mailing list