LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
MFC project (Visual studio VC7 .NET ) throws up the above error, when i try to access a library (.lib) through a function call.Solved the above error by :
Project > Properties > Linker > Input > Ignore Specific Library - libcmt.lib
Project > Properties > Linker > Command Line - /FORCE
0 Comments:
Post a Comment
<< Home