Solved

External DLL references.....

Posted on 1998-07-10
1
218 Views
Last Modified: 2013-11-08
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
Comment
Question by:mguedes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
platiumstar earned 10 total points
ID: 1465439
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2005 text editor 10 55
Protecting vb6 & .Net code Obfuscation 18 214
VB 6 error 5 in windows 10 but not in XP 7 72
backup program with robocopy 6 91
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question