That's not entirely true...
Check out COMARRAY()
>AFAIK, you can't pass an array to/from a COM, especially if the tiers are from different language. You need to convert it in a form that can be transfered to/from a COM, like a string, XML or an ADO recordset.
>
>Look also at thread #
391892 in the VFP forum.
>
>HTH
>I am creating a wrapper class ActiveX .dll in VB to use in a VFP program.
>>
>>I am having problem getting an array from VFP to a .dll sub.
>>The sub in the .dll takes 4 parameters with the array being the 3rd.
>>
>>sub recadd(dname$, tname$, (array goes here) , mlen)
>>
>>In the VFP code I have created a two demensional array called db_stru and filled it with field names and field values. The call is...
>>
>>loAccess.recadd(mdbname,mtname, (the array is past here), m_fldnum)
>>
>>How do I pass the array and then in the .dll how can I use it?
Erik Moore
Clientelligence