[python-win32] Utilizing a raw IDispatch Pointer from Python

Brad Johnson Brad.Johnson at ballardtech.com
Tue Jul 31 18:25:28 CEST 2007


I have a C++ application that creates a collection of COM objects. I am
embedding a Python interpreter that will have access to Automation objects
written in C++.

I would like to give the Python interpreter access to the IDispatch interface on
these objects.

Stated another way, how can I have Python consume a IDispatch pointer from C++
and wrap it with one of those nice Python classes (IPyDispatch?) automatically?

Thanks in advance.



More information about the Python-win32 mailing list