How to add a lib library file to the VC. Net project

Source: Internet
Author: User

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 ")

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.