Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL function Call error
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
DLL function Call error
Miscellaneous
Thread ID:
00246510
Message ID:
00246510
Views:
44
Hi All,

I have a DLL (build in MS Fortran and not by me) and I'm trying to use its functions. This is what I do:

DECLARE INTEGER DLLFunction IN FORTRAN.DLL INTEGER @tnResult

Now I try to use this function (lnOK = 0 and lnResult = 0)

lnOK = DLLFunction(@lnResult)
=DLLFunction(@lnResult)

Both of the above methods trigger: Declare DLL call caused an exception. (Error 2027). The only way that seams to work is:

?DLLFunction(@lnResult)

But I don't want all the 0's on my screen. What could cause these different behaviours en how to can I fixed it??
Next
Reply
Map
View

Click here to load this message in the networking platform