How to add a lib library file to the VC. Net project
In the vc6 integrated development environment, you can click the project/setting menu command to bring up the project Properties dialog box. In the activity configuration, select link/Object/library modules to enter the Lib library file to be added.
However, in the integrated development environment of VC. Net:
Click "Project/properties" in the menu to bring up the project Properties dialog box. Alternatively, in the solution view or Class View, right-click the project name and select "properties" to bring up the project Properties dialog box;
In the active configuration in the pop-up dialog box, select "configuration properties/linker/input/additional dependencies" to enter the Lib library file to be added, after adding the application, click "application" or "OK.
If you want to add the Lib library file to all configurations, You can first switch the Active configuration to "All configurations ".
Other methods;
# Pragma comment (Lib, "libname. lib ")