Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ Build Errors

Status
Not open for further replies.

silVeR6

Programmer
Jan 31, 2001
1
US
Just installed C++ 6.0 Enterprise Edition. All my programs used to work correctly on version 5.0.
Start out with an empty project. Then I create a new C++ source file.
Program compiles correctly with 0 errors. However, during a build of the program I get the following two errors.



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

Debug/Project 1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


Any hints? Is this an install problem?

Regards.
 
> Any hints? Is this an install problem?

I don't think so. You linked with the library that calls WinMain() to start your application and you need to provide that function.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top