?
Solved

Linker err question

Posted on 2002-05-28
1
Medium Priority
?
181 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 200 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

840 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