Win32/COM - returning multiple values

Richard Brodie R.Brodie at rl.ac.uk
Thu May 11 06:24:38 EDT 2000


"Mark Hammond" <mhammond at skippinet.com.au> wrote in message
news:qZ3S4.16381$v85.103312 at news-server.bigpond.net.au...

> > However, it seems that what I have to do is to use NewEnum to
> > coerce it to an IEnumVARIANT interface, and then use
> > QueryInterface and Next on the client to recover the array.
>
> It sounds like the object is returning a collection.  No idea why.

It seemed like a good idea at the time, and seemed to work.

> > Lucky I was able to protoype this all in Python ;)  Have I really
> > got to jump through all these hoops though?
>
> If you really do need to, it shouldnt be Python specific.
>
> If you can post the code in your .idl, I will have a better idea...

Ah, I don't have one of those. I'll go chew on some COM
documentation a while.





More information about the Python-list mailing list