L
Lee_________
Guest
I am getting a linker error on a new project I set up in VS2010. The error I am getting is:
1>MSVCRTD.lib(crtexew.obj) : error LMK2019: unresolved external symbol _WinMain @ 16 referenced in function ___tmainCRTStartup (The underscore WinMain at 16 is all together, but I have placed the spaces before and after the 'at' symbol because the sight here recognizes it as a link and links aren't allowed, at least as I type this in). I have used VS2010 for years, and have many other projects that I have not had this issue with. This is supposed to be a console app project with no MFC or other Windows like dependencies (stand alone Ansii C++). Many of the other projects were imported from previous versions of Visual Studio. I just created this project in Studio 2010 and the set up of the project looks a little different than what I recall in previous versions. This code has compiled and built in previous versions just fine but I am at a loss as to why it wont link now. It seems like a project setup issue, not a code issue, but if someone understands what is going on, I really appreciate the help.
Continue reading...
1>MSVCRTD.lib(crtexew.obj) : error LMK2019: unresolved external symbol _WinMain @ 16 referenced in function ___tmainCRTStartup (The underscore WinMain at 16 is all together, but I have placed the spaces before and after the 'at' symbol because the sight here recognizes it as a link and links aren't allowed, at least as I type this in). I have used VS2010 for years, and have many other projects that I have not had this issue with. This is supposed to be a console app project with no MFC or other Windows like dependencies (stand alone Ansii C++). Many of the other projects were imported from previous versions of Visual Studio. I just created this project in Studio 2010 and the set up of the project looks a little different than what I recall in previous versions. This code has compiled and built in previous versions just fine but I am at a loss as to why it wont link now. It seems like a project setup issue, not a code issue, but if someone understands what is going on, I really appreciate the help.
Continue reading...