[python-win32] COM question
Mark Hammond
mhammond@skippinet.com.au
Tue, 1 Oct 2002 15:11:57 +1000
> > However, if this is true, I can see no reason why Python would
> > fail - what error did you get?
>
> I didn't get an error, but I didn't get a value returned back (as I
> recall; it's been a couple months since I poked at this).
Well, their IDL is at fault, and it clearly should be marked as [in,out].
All we should need to do is to get the makepy generated code for this
function, and change the last "type tuple" for this function. It will be a
tuple of, eg (pythoncom.VT_OBJECT, pythoncom.PARAMFLAG_FIN). Telling Python
it is really _FIN | _FOUT should do the trick.
Mark.