Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pointers in VFP?
Message
De
04/10/2006 06:44:09
 
 
À
03/10/2006 16:01:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01158687
Message ID:
01159272
Vues:
29
Hello Tracy,

"how would you access the properties of the result if the result is a set?"

i don't quite understand what you mean.
Do you mean a function that returns a pointer to an array of C style strings?

e.g.
DECLARE INTEGER SomeFunc IN somedll.dll INTEGER @ nArraySize
LOCAL lnSize
lnSize = 0
lnPointer = SomeFunc(@lnSize)
FOR xj = 1 TO lnSize
 ? "Item", xj, SYS(2600,lnPointer)
 lnPointer = lnPointer + 4 && + sizeof(char*)
ENDFOR
if this is not what you meant, you may point me to the API function that you wanna use so i can have a look at it and give you a more precise answer.

Christian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform