0

Can someone tell me how to add a static library file to a project in visual studio 2007.

3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by CoolGamer48
0

In VC 6 you add it in.

Project --> Settings --> Link Tab --> change Catetory to input then add the library to the Object/library modules list. In the left pain, change Settings For to All Configurations.

I was just wondering if it was similar in 2007

1

If you'd like to link to a lib through the compiler's interface rather than using #pragma, right-click on your project's name in the panel to the left, go down to properties, expand linker, go to input, and put the libraries names in the additional dependencies field, separated by spaces.

Votes + Comments
thanks again !!!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.