Utilizing a raw IDispatch Pointer from Python
Ryan Ginstrom
software at ginstrom.com
Wed Aug 1 02:43:05 CEST 2007
> On Behalf Of Brad Johnson
> I would like to give the Python interpreter access to these
> interfaces that were created in C++ land.
>
> Stated another way, how can I have Python consume a IDispatch
> pointer from C++ and wrap it with one of those nice Python
> classes automatically?
If I understand you correctly, you can use client.Dispatch
from win32com import client
com_object = client.Dispatch(idispatch_pointer_from_cpp)
Regards,
Ryan Ginstrom
More information about the Python-list
mailing list