Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with API calls
Message
From
21/03/1998 15:36:39
 
 
To
21/03/1998 13:34:04
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00086206
Message ID:
00086219
Views:
29
Thanks very much for the help. I really appreciate it. Wish Microsoft had
included Win32api.hlp in VFP 5.

>IN means that is an input parameter (ie the info contained by the variable is provided to the function and the function is not supposed to return a value into this variable)
>
>OUT - output parameter (ie the function will return useful info into this variable)
>
>Both IN and OUT are just to document the function and this tells you that the OUT param should be declared (and passed) by reference. You do this correctly for the declaration, but you must also pass those params by reference. Besides that, all params that are of any type starting with LP or P, are pointers and must be also declared and passed by reference.
>
>The LPDWORD param must be declared as @ INTEGER and passed @lnSession. From the info you provide about this function, I believe that this is the param where you'll find the connection handle if the function returns succesful. If you don't pass it by reference, the param will not be changed, so, you don't have the connection handle.
>
>>Is there a good resource available for help in using foxpro to make win32 api calls?
>
>1. MSDN
>2. The Win32API.hlp shipped with VFP3
>3. The help shipped with Visual Studio
>4. Books, etc
>
>Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform