Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays & APIs
Message
De
12/04/2003 20:24:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Arrays & APIs
Divers
Thread ID:
00776993
Message ID:
00776993
Vues:
56
Hi all,

Is this possible in VFP? I am not sure if this is valid or not. The API function did not update the array elements.
declare long APIGetEnv in APIDll long
declare long APIFunction in APIDll long pPointer, double @ dArray
dimension dArray[2]
dArray=0.0
nPtr=APIGetEnv()
nError=APIFunction(nPtr,@dArray) && does not update the array elements!!!
* function returns nError <> 0 which means success.
I checked out the samples in VFP8 on passing arrays to API which converts the array to a string of Hex representations of the arrays. I need to pass the array to be updated with values.
ramil
~~ learning to stand still
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform