win32com and Query Interface
bricer at wsdot.wa.gov
Tue Oct 30 19:32:13 CET 2001
I've got a python script (obviously) that uses the win32com libraries
to access some inprocess automation serversions I've written.
I have an object that returns a pointer to another object. How do I
get a secondary interface on the returned object?
obj2 = obj1.ReturnsSomeObjectOfType IObj2
# obj2 supports the IObj2 and IObj2Ex interfaces
# I want to QI obj2 for the IObj2Ex interface and call a method on
More information about the Python-list