0

I use Visual c++ 6.0 enterprise. However, for few days i am not being able to build any program due to some linker error. I am getting following message,

--------------------Configuration: main - Win32 Debug--------------------
Compiling...
view.cpp
winmaker.cpp
control.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

main.exe - 2 error(s), 0 warning(s)

How could i fix this problem.

vishesh

3
Contributors
2
Replies
3
Views
11 Years
Discussion Span
Last Post by Ancient Dragon
0

from the list of filenames it appears you are trying to build a win32 program but created a console project instead of a windows project. If that is true then the easiest way to correct the problem is to recreate a new windows project then copy your files into it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.