Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Thomas Heller
Christian K. schrieb: Thomas Heller wrote: Christian K. schrieb: Now I installed comtypes from svn and get this error running your new example: Traceback (most recent call last): File C:\Dokumente und Einstellungen\ck\Desktop\x.py, line 64, in ? Listener() File C:\Dokumente und

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Thomas Heller
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

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Christian K
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

Re: [python-win32] com events while running wx main loop

2007-04-19 Thread Thomas Heller
Christian K. schrieb: Now I installed comtypes from svn and get this error running your new example: Traceback (most recent call last): File C:\Dokumente und Einstellungen\ck\Desktop\x.py, line 64, in ? Listener() File C:\Dokumente und Einstellungen\ck\Desktop\x.py, line 50,

Re: [python-win32] com events while running wx main loop

2007-04-18 Thread Thomas Heller
Christian K. schrieb: sorry. I forgot the attachment. Christian import unittest import comtypes.client import wx class EventHandler(object): Instances are called when the COM object fires events.

Re: [python-win32] com events while running wx main loop

2007-04-18 Thread Christian K.
Thomas Heller wrote: Christian K. schrieb: sorry. I forgot the attachment. Christian import unittest import comtypes.client import wx class EventHandler(object): Instances are called when the COM object

[python-win32] com events while running wx main loop

2007-04-17 Thread Christian K.
Hi, I'm trying to recieve com events in a wxpython application. I modified an example posted here by Thomas Heller some time ago. It seems that the events are not delivered. Am I doing something wrong or is this just a limitation of com/wxPython? Thanks for any hint, Christian

Re: [python-win32] com events while running wx main loop

2007-04-17 Thread Christian K.
sorry. I forgot the attachment. Christian import unittest import comtypes.client import wx class EventHandler(object): Instances are called when the COM object fires events. def __init__(self, view, name): self.view = view self.name = name def __call__(self,