Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call to an external DLL
Message
From
22/10/2002 14:36:54
 
 
To
22/10/2002 14:31:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00714000
Message ID:
00714008
Views:
25
>I am trying to make a call to a function within a dll from VFP 6.0. The dll is written in C++. The function returns an integer value flagging whether the function executed successfully or not: 0 for success and non zero for failure. If executed successfully then one of the arguments contains the result set that I need to use. How do I access that value??
>
>I am calling the function the following way:
>
>DECLARE STRING v_o_d IN "RLPOLK.DLL" STRING, STRING
>x = v_o_d(outvin, options)
>
>According to the documentation "x" is an integer returned by the function. O is returned on success. Actual data is returned in the "options" argument. But from VFP 6.0 when I print the value of options I get nothing. Please shed some light in this area.

Maybe try
x=v_o_d(outvin, @options)
Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform