This
doesn't work quite yet. The code you see relating to the vtables allows
you to _implement_ these COM objects, but not call them. This work will
probably happen over the next few months (or quicker if someone beats me to it
[Please!])
Mark.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Etienne Labuschagne
Sent: Tuesday, 31 July 2001 7:41 AM
To: '[EMAIL PROTECTED]'
Subject: win32com
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Etienne Labuschagne
Sent: Tuesday, 31 July 2001 7:41 AM
To: '[EMAIL PROTECTED]'
Subject: win32com
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_ = 0IMyObject_vtables_ = [(long list of methods and properties with some other cryptic values)]The CLASS_ID can be found in a dictionary named VTablesNamesToCLSIDMapHow 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.ThanksEtienneP.S. If this is not the correct list , please point me to a place where I can subscribe to the correct one!