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

2012-12-15 Thread Gilles Baggieri
Mark Hammond skippy.hammond at gmail.com writes: 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 Thanks Mark. It works fine with only this:

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