Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare DLL Delphi from fox
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00737621
Message ID:
00740023
Views:
10
Hi, Derk

Try some more variants:

DECLARE INTEGER JaargiftReken IN NAdvies INTEGER @, INTEGER @, INTEGER @
DECLARE INTEGER JaargiftReken IN NAdvies INTEGER, INTEGER, INTEGER
DECLARE DOUBLE JaargiftReken IN NAdvies INTEGER @, INTEGER @, INTEGER @
DECLARE DOUBLE JaargiftReken IN NAdvies INTEGER, INTEGER, INTEGER

The interface of Delphi function shows that input parameters will not be changed, so there is no need to pass them by their references.

In the second case (my bet) -- of course, if no error occurs -- most probably you will receive a memory address in return. Read 4 or so consecutive bytes from this address and convert them into appropriate numeric type.

And your FoxPro version is?

* * *
Also try to declare and call this function from VB, might give you a clue.
Previous
Reply
Map
View

Click here to load this message in the networking platform