Hi!
To write correct DECLARE statement you need to have declaration of function in Delphi. can you post it (or at least post it's desription)?
>Hi everyone.
>
>For a new webapplication we recently bought a non-COM DLL, that we're trying to use from VFP. We've used DLL's like this before using DECLARE DLL (for instance, we've used WIN32 functions). This particular DLL is written in Delphi. Everything works wel untill we try to call the function, it then tells us "Declare DLL call caused an exception". When looking it up in the help, it tells us this is probably caused by a wrong datatype delaration.
>
>I am aware of case sensitivity and datatype constraints. The Single en Integer declarations in the code come right out of the documentation with the product.
>
>This is what we try :
>*!* start code
>DECLARE SINGLE JaargiftReken IN NAdvies.DLL ;
> INTEGER @, ;
> INTEGER @, ;
> INTEGER @
>
>Local lNLV,lDr,lg as Integer
>
>lNLV = 200
>lDr = 10
>lg = 2
>? JaargiftReken (@lNLV, @lDr, @lg)
>*!* end code
>This should work right, but it doesn't. Does anyone have any experience with this situation?
>
>TIA
>Derk Schutte
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.