Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare DLL Delphi from fox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00737621
Message ID:
00740023
Vues:
11
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform