>HI,
>I have a problem to send by reference array(s) as a parameter to
>method in object created from VB's activeX dll.
>VFP shows "Data type missmatch" error.
>What should I do with my VFP code to solve this problem?
>( I cannot change VB part)
>
>*-- Method declaration in VB
>Public Sub myVb(Cost() as Double, Factor() as Double, Param1 as Double, ErrCode as Integer)
>
>*-- VFP sample
>LOCAL loVB,laCost[2],laFactor[2],Param1, ErrCode
>* Initialize all variables
>
>loVB=CREATEOBJECT('myVBDll.proVB')
>* Call VB method
>loVB.myVB(@laCost,@laFactor,@Param1, @ErrCode) && This line raise an Error
>
>Thanks,
>Sergey Krayniy
Check ComArray()
Cetin