General information
Category:
Coding, syntax & commands
Title:
Call to an external DLL
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only