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...

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to