Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays & APIs
Message
From
12/04/2003 20:24:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Arrays & APIs
Miscellaneous
Thread ID:
00776993
Message ID:
00776993
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform