Writing Native MFC in VC++.net 2003

R

Rafael Veronezi

I'm trying to write a simple MFC application in VC++.Net 2003, and I'm
taking the following erro:

libcmtd.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup

Proj.exe : fatal error LNK1120: 1 unresolved externals

I seek the help files trying to find a solution, I changed lots of build
configurations, but can't find why the hell ti can't compile showing these
erros...

Plz help me... Thx
 
D

David Lowndes

I'm trying to write a simple MFC application in VC++.Net 2003, and I'm
taking the following erro:

libcmtd.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup

Proj.exe : fatal error LNK1120: 1 unresolved externals

I seek the help files trying to find a solution, I changed lots of build
configurations, but can't find why the hell ti can't compile showing these
erros...

Rafael,

I suggest that you start a new clean MFC project and build it before
you start changing things to ensure that it's OK.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top