Linking a Project With Libraries or Object Files
Library created by another project in the solution
-
Right-click
on the References folder in the Application project and select "Add Reference...".
- Select the Projects tab and then the desired Static Library project and click OK.
- The library built by that Static Library project will be linked in when the Application
project is built.
External library or object file(s)
To link a project with an existing external library or object file:
-
Right-click
on the References folder in the Application project and select "Add Reference...".
- Select the Browse tab and then browse to the desired file and click OK.
- The library or object file will be linked in when the Application project is built.
Alternatively, manually add an existing library or object file to a project's link
list:
-
Right-click
on the project name in the Solution Explorer and select "Properties" from the context
menu. The Project Property Pages will appear.
- Expand the "Configuration Properties" node, if it is not already expanded.
- Select the "Linker" node, then select "Additional Linker Options"

- In the text box, add the pathnames of the libraries or object files you want to
add to the link. If a pathname contains a space, the entire path/filename should
be enclosed in quotes. Multiple file names are separated by one or more spaces.
See Also
Compiling and Linking a Project With Modules