Hongwei
2009-06-02 19:36:01 UTC
I got the following link error after I ported my VS 2003 project to VS 2008:
"error LNK2019: unresolved external symbol _main referenced in function
___tmainCRTStartup LIBCMT.lib"
Most of posts in the internet say it can be fixed to change the subsystem to
Windows, not console (Properties > Configuration > Linker > System >
Subsystem.
But it doesn't work for me. It is Windows (/SUBSYSTEM:WINDOWS) in the
settings. The same settings works with VS 2003 C++.
Thanks in advance for suggestions!
HJ
"error LNK2019: unresolved external symbol _main referenced in function
___tmainCRTStartup LIBCMT.lib"
Most of posts in the internet say it can be fixed to change the subsystem to
Windows, not console (Properties > Configuration > Linker > System >
Subsystem.
But it doesn't work for me. It is Windows (/SUBSYSTEM:WINDOWS) in the
settings. The same settings works with VS 2003 C++.
Thanks in advance for suggestions!
HJ