Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

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
0
mguedes
Asked:
mguedes
1 Solution
 
platiumstarCommented:
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now