Re: [python-win32] Convert PyIDispatch object to struct IDispatch*

2008-04-11 Thread Thomas Heller
Huayang Xia schrieb: > 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. The only way (that I know o

[python-win32] Convert PyIDispatch object to struct IDispatch*

2008-04-11 Thread Huayang Xia
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. ___ python-win3