SDL (MFC): "fatal error LNK1561: entry point must be defined" SOLUTION

Source: Internet
Author: User
Tags visual studio 2010

"Fatal error LNK1561: entry point must be defined" SOLUTION


In Visual Studio 2010, an empty project is created.

Add *. cpp, *. h

Then, during compilation, the following error occurs: "fatal error LNK1561: entry point must be defined"

Method: Click System Options on the left and set the subsystem on the right to "Windows form program ":

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1926092P9-0.jpg "style =" float: none; "title =" qqpinyin unnamed name 1.jpg "alt =" 223508498.jpg"/>

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1926091U5-1.jpg "style =" float: none; "title =" qqpinyin unnamed .jpg "alt =" 223525566.jpg"/>

Select the code generation below C/C ++ on the left side, and set the Runtime Library as "multi-threaded DLL" on the right side ":

Unknown cause .....

This article from the "casual" blog, please be sure to keep this http://suixinsuixin.blog.51cto.com/7444588/1304980

Related Article

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.