怎么样处理eVC编译时出现corelibc.lib的问题?

怎么样处理eVC编译时出现corelibc.lib的问题?

corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup

可能的报错原因如下:

1) 可能是eVC3代码升级到eVC4中编译.

2) 或者创建工程时,没有选择正确的工程类型.

3)入口有问题.

解决办法:

Project -->Settings... -->Link --> Category选Output --> Entry-point symbol

-->把WinMainCRTStartup改成wWinMainCRTStartup or _DllMainCRTStartup

再编译,就OK了. 呵呵

<script type="text/javascript"><!-- google_ad_client = "pub-3555979289815451"; google_ad_slot = "0437120238"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script>