[python-win32] COM question

Bob Olson olson@mcs.anl.gov
Tue, 1 Oct 2002 00:14:15 -0500 (CDT)


cool - I will try that when I get back.

thanks much!

--bob

On Tue, 1 Oct 2002, Mark Hammond wrote:

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