PDA

View Full Version : What does this mean?



lost-
08-06-2002, 07:25 AM
I get this error when compiling/linking a file in VC++ 6.

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Source.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

killercow
08-06-2002, 07:29 AM
Do you have a main function?

Latrans
08-06-2002, 07:34 AM
- Click the little link that says "Search"
- Enter "unresolved external symbol _main"
- Read one of the gazillion other posts about this EXACT SAME error

coredump
08-06-2002, 09:17 AM
in VC++, a Win32 Application requires a WinMain function. a Win32 console Application requires a main function.

b