Solved

Linker err question

Posted on 2002-05-28
1
174 Views
Last Modified: 2010-04-02
I am getting an error after a program compiles:

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

What does this mean & how do I fix it
0
Comment
Question by:castello
1 Comment
 
LVL 3

Accepted Solution

by:
MDarling earned 50 total points
ID: 7041235
It means your compiling a windows program but you haven't got a required function called WinMain - equivalent to main in other systems.

Have you perhaps chosen the wrong project type to build?

Did you intend to build a Console Application but Mistakenly choose to build a Windows application?

Regards,
Mike.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question