accessing an OLE Automation (IDispatch) server from python which requires the use of "out params"

bitbucket coder1024 at
Tue Dec 11 16:54:55 CET 2012

On Tuesday, December 11, 2012 10:48:53 AM UTC-5, bitbucket wrote:
> I noticed that the argument type is different for the out param (16392 instead of 8).  However, it doesn't appear to me that its generating return values instead of args (though I'm not very experienced in python).

I see that the value 16392 is really VT_BYREF | VT_BSTR and 8 is just VT_BSTR.  So in that case it appears MakePy is taking noticed at least of the VT_BYREF and including that in the generated code (since it uses 16392).

So maybe there's a special way I need to call the generated wrapper?

More information about the Python-list mailing list