Re: [python-win32] a question about word addin , IRibbonExtensibility, GetCustomUI, getImage, IPicture

2012-12-13 Thread Gilles Baggieri
Mark Hammond skippy.hammond at gmail.com writes: I'm not familiar enough with ctypes to know if that makes sense, but I doubt it - nothing would seem to know the size of the buffer pointed at by 'x'. You probably need to stick with using a python string object - ensure the string

Re: [python-win32] Calling an OLE Automation (IDispatch) server which uses out params

2012-12-13 Thread Mark Hammond
On 13/12/2012 11:36 AM, Dave Calkins wrote: I'd like to be able to call an OLE Automation (IDispatch) server from python to automate an existing application. I'm not at liberty to change the existing automation interface provided by the application so I need to get it to work with what the app

Re: [python-win32] a question about word addin , IRibbonExtensibility, GetCustomUI, getImage, IPicture

2012-12-13 Thread Mark Hammond
I've lost some of the context here, but there is a pythoncom.ObjectFromAddress that looks like it does exactly what you want - check out the pywin32 docs for details... HTH, Mark On 14/12/2012 11:04 AM, Gilles Baggieri wrote: Mark Hammond skippy.hammond at gmail.com writes: I'm not