Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to specify .dll location

Status
Not open for further replies.

psdzorb

Programmer
Mar 15, 2005
1
US
I am trying to figure out how to creat and use a library in C++Builder. I am able to build a library. I am also able to call functions in the library.

However I can only do so if the .dll is in the same directory as the .exe that is calling the library functions. How do I tell the .exe to look for the .dll over in my library project directory?

So fare I have.....

I specify the .lib directory for the .exe project in tools/Environmental Options/library and also in Project/Options/Directories&Conditionals.

I specify the .lib file for the .exe in Project Manager.

Thanks, Steve
 
Look at Measurement Computing Corp. ( I've never used their software but their hardware is good.

James P. Cottingham
-----------------------------------------
To determine how long it will take to write and debug a program, take your best estimate, multiply that by two, add one, and convert to the next higher units.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top