Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Array to .dll
Message
De
01/09/2000 02:16:03
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing Array to .dll
Divers
Thread ID:
00411603
Message ID:
00411603
Vues:
62
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?

Thanks for your help.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform