Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to a DLL
Message
De
13/07/2000 12:45:17
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Passing arrays to a DLL
Divers
Thread ID:
00391892
Message ID:
00391892
Vues:
60
VFP 6.0 SP3

We are trying to call a DLL (written in ADA) that takes arrays as parameters. It doesn't modify the arrays, it just takes them as input parameters. I've done some searching and found that you can't pass arrays to DLLs directly from FoxPro. However, I did see some mentions of being able to use a string in place of the array. I haven't seen any examples of doing this, so I was wondering if anyone has done something like this in the past and could give me a hand, if it is even possible.

We have an example of the function call from Visual Basic. There are four arrays passed: two arrays of Double and two of Long. If it's possible to use a string to pass these arrays of numbers to the DLL function, does anyone know how I would fill the string with data to pass to the DLL?

Thanks,
Jonathan Cochran
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform