LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
问题 I have the following error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup, There are a lot of threads relating to this error but none of those solutions worked for me. And, none explained why this error is here. I tried: wWinMainCRTStartup as entry point in the linker properties http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/14e85604-6929-4707-a22e-8cdf596926a6 set the linker to "Windows" (same thread as above) Right click on solution name-