Convert PyIDispatch object to struct IDispatch*

Huayang Xia huayang.xia at gmail.com
Thu Apr 10 17:45:04 EDT 2008


I am trying to use ctypes to call dll functions. One of the functions
requires argument "struct IDispatch* ". I do have a PyIDispatch object
in python. How can I convert this "PyIDispatch object" to "struct
IDispatch* "?

Thanks in advance.



More information about the Python-list mailing list