If you are using VC++ v6.0 choose Settings from the Project menu. Click on
the link tab. In the Category listbox choose Input. Finally, in the edit box
labeled 'Object/Library Modules' type the name of your library.
If you are using VStudio.Net, choose Solution Explorer from the View menu.
Right click on your project's name in the tree view control and select
Properties from the context menu.In the 'Configuration' listbox choose 'All
Configurations'. Open the 'folder' named Linker on the left by clicking it.
Select 'Input'. Finally in the edit box labeled 'Additional dependencies'
type the name of your library.