Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array by reference to a .NET .dll
Message
De
08/04/2008 11:42:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01309001
Message ID:
01309034
Vues:
19
>Hi David:
>
>Use the function CLRCreateArray as
>
>oArray = CLRCreateArray(tcType, tnDim1, tnDim2)
>
>To create your array in VFP.

>Fill it using
>
>oArray.SetValue(teVal, tnIndex)
>
>
>And just pass it to your method it will have the new data if your method modifies the array.

In my case, I don't think I'll need to do this, as the array will be passed empty and the .dll will fill it. How many elements will the array be initialized with under this - zero or one?

David
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform