Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Array to .dll
Message
De
01/09/2000 12:58:06
 
 
À
01/09/2000 07:58:38
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411603
Message ID:
00411834
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform