External DLL references.....

I have a project with an external dll(in FORTRAN), how do i make the dll functions declare in my bas module?
where do i place the external dll? in the app. path?
do i have to insert the dll path in the declare step

PS: i have try to make the folowing declaration but it doesn´t work(it tell´s me....file not found..).....
....
  Declare Sub fobj Lib "back.dll" (ByRef inpt As Long, ByRef xx As Double, ByRef fxx As Double)
....


Thanx in advance,
Mário Guedes
mguedesAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
platiumstarConnect With a Mentor Commented:
why don't you specify the full path name? otherwise, you can put it in the windows default directory which is \system32, I think. These programs search for the DLLs in specifiy orders, but putting them with the other system DLLs should do it.

Good Luck


0
All Courses

From novice to tech pro — start learning today.