unresolved external symbol _main referenced in function _mainCRTStartup
-
Hello All, I'm getting
libc.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
error in a Win32 based application. IDE I'm using is VC++ 7 (Visual Studio .Net 2003). How it can be solved? Any help is highly appreciated.
Come online at:- jubinc@skype
-
Hello All, I'm getting
libc.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
error in a Win32 based application. IDE I'm using is VC++ 7 (Visual Studio .Net 2003). How it can be solved? Any help is highly appreciated.
Come online at:- jubinc@skype
int main(int argc, char * argv[])
{
return 0;
}:-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
Hello All, I'm getting
libc.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
error in a Win32 based application. IDE I'm using is VC++ 7 (Visual Studio .Net 2003). How it can be solved? Any help is highly appreciated.
Come online at:- jubinc@skype
what is ur project type, DLL, win32 console, windows .... ? May be the project ur working is different from the project settings. May be u r creating the project with setting for WIN32 console for the existing source files written for DLL.