General information
Category:
Windows API functions
Title:
DLL function Call error
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only