Hi
all,
I hope this is the
correct mailing list (can't find a win32com list - although it seems
there is one - to subscribe to on the Activestate website at http://listserv.activestate.com/mailman/mysubs)
How do I use the
IUnknown interfaces of COM objects? The generated wrapper file created by
makepy creates a nice wrapper for the default IDispatch interface, but none for
the IUnknown (that I can find). There are however variables for the
IUnknown interfaces in the form:
IMyObject_vtables_dispatch_ = 0
IMyObject_vtables_
= [(long list of methods and properties with some other cryptic
values)]
The CLASS_ID can be
found in a dictionary named VTablesNamesToCLSIDMap
How do I use the
above to generate a wrapper to the above interface that I can use. It
seems as if similar values are plugged into the DispatchBaseClass object to
create a wrapper for IDispatch interfaces, but I don't know how (or where) to
plug these variables into to create a wrapper for the IUnkown interfaces.
I don't know much about COM so the answer may be obvious and easy, but I can't
figure it out!
I have been able to
use the DispatchBaseClass derived wrappers and would like something similar for
the IUnknown interfaces.
Thanks
Etienne
P.S. If this is not
the correct list , please point me to a place where I can subscribe to the
correct one!