Information générale
Catégorie:
Codage, syntaxe et commandes
>The string passed in VFP is a 32-bit pointer to a fixed-length array of char, whose exact length is LEN(string variable state when passed). <
If you pass this 4 byte pointer to a function in DLL and that function changes the string value and/or length withour moving it in the memory, then VFP can receive back the value for this string. How VFP moves the string later doesn't matter. Otherwise what is the meaning of passing variables by reference if they cannot be altered?
>The documentation of exactly what the form of data is passed by VFP to the DECLARE...DLL function is documented rather precisely in the on-line help;<
I have read it many times but it doesn't help me with the problem I have outlinded.
Joshua
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement