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
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