954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

create and link .lib and .dll in Vc++ 6.0

Hi,

i have created dll and lib files using vc++ 6.0..

how can i use this files in my program....
i want to know how to link the lib and dll file in which ever program i want using vc++ 6.0
please help.....


thank you....

neoraghav
Light Poster
27 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

You don't link the dll -- only the *.lib. One way to do it is by using pragma #pragma comment(lib,"mydll.lib") Replace mydll.lib with whatever you named it.

You will have to put the dll in either the program's current working directory or one of the folders specified in the PATH environment variable.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

You don't link the dll -- only the *.lib. One way to do it is by using pragma #pragma comment(lib,"mydll.lib") Replace mydll.lib with whatever you named it.

You will have to put the dll in either the program's current working directory or one of the folders specified in the PATH environment variable.


thank you............

neoraghav
Light Poster
27 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: