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

Gilles Baggieri gilles.baggieri at gmail.com
Sat Dec 15 19:59:04 CET 2012


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:

    import pythoncom
    return pythoncom.ObjectFromAddress( x.value, pythoncom.IID_IDispatch )

Simplier, clearer...



More information about the python-win32 mailing list