Re: [python-win32] win32com does not recognise an Interface for events

2007-08-10 Thread Thomas Heller
Len Remmerswaal schrieb: import comtypes.client as cc import comtypes.gen.S7PROSIMLib as S7PS class testVehikel: def __init__(self, progid, eventsClass): self.intf = cc.CreateObject(progid) self.rcvr = eventsClass() ## just added () to assign an obj i.o. a class

Re: [python-win32] win32com does not recognise an Interface for events

2007-08-07 Thread Thomas Heller
OLE Viewer finds a second interface IS7ProSimEvents that is made the default source makepy does not recognise IS7ProSimEvents as an interface at all. It would appear that makepy is excluding non-dual interfaces, and that the integration with the 'universal' support for vtable interfaces