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....

Recommended Answers

All 2 Replies

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.

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............

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.