Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pointers in VFP?
Message
From
04/10/2006 06:44:09
 
 
To
03/10/2006 16:01:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158687
Message ID:
01159272
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform