Convert PyIDispatch object to struct IDispatch*

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Apr 11 00:15:28 EDT 2008


En Thu, 10 Apr 2008 18:45:04 -0300, Huayang Xia <huayang.xia at gmail.com>  
escribió:

> 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* "?

I think a PyIDispatch object is an IDispatch* itself.
But you'll get better answers from the python-win32 list:
http://mail.python.org/mailman/listinfo/python-win32

-- 
Gabriel Genellina




More information about the Python-list mailing list