Some issues that arise when creating a dynamic link library

Source: Internet
Author: User

When you create a DLL project, especially when some resources are converted to DLLs, they do not DllMain () when they do not appear: ErrorLNK2001: unresolved external symbols [email protected] errors.

Workaround: Right-click, Project Properties--connector--advanced--No entry point: change to Yes.

The/noentry option is required to create a pure resource DLL. Use this option to prevent link from linking a reference to _main to a DLL.

After each dependent project is changed, the dependent projects are regenerated

When I can't find my head file.

You can do this.

Project--"Properties----" C/C + +-----> General--------"Append header file ———————" Add the location of your header file.

Some issues that arise when creating a dynamic link library

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: 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.