Hi!
DECLARE SINGLE JaargiftReken IN NAdvies.DLL ;
INTEGER, ;
INTEGER, ;
INTEGER
lNLV = 200
lDr = 10
lg = 2
? JaargiftReken (lNLV, lDr, lg)
"@" passes variable by reference, that is a pointer in Delphi. Just for integer, do not use "@".
I also not sure about "Single" here - the size of "single" type might be different in Delphi and VFP, though I think it should work ok.
>Vlad,
>
>the delphi function i'm trying to access (according to the documentation) is
>
>function JaargiftReken(NLV,Dr,g:Integer):Single;
>
>(i have no clue as to whether it's correct, i have no syntactic knowledge of delphi)
>
>The datatypes seem to correspond to the types i declare in Fox.
>
>regards
>derk
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.