Hi !

I need the help of a DCOM-expert.
Our DCOM-Server (written with VC) offers a method returning a safearray.

In IDL we've declared the parameter as [in, out] variant*. My vb-call looks like this:

Dim MyObj As ServerObj
Dim r As Variant

MyObj.FillArray r

When I use the function UBound it returns the correct number of elements but all elements are empty allthough the server filled them. I cannot access any element with this:
MsgBox r(1)

Then runtime-err 458 occurs.

If any experienced DCOM-Developer has a clue, please help.


TIA
Björn


------------------
EMAIL: [email protected]

PAGE: <A HREF="http://members.xoom.com/sharetools
" TARGET=_blank>http://members.xoom.com/sharetools
</A>