Solved

Linker err question

Posted on 2002-05-28
1
171 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now