Error LNK2001: '_WinMain@16': Unresolved External Symbol

PRB:   Error   LNK2001:   '_WinMain@16':   Unresolved   External   Symbol    
  ID:   Q125750    
   
   
  --------------------------------------------------------------------------------  
  The   information   in   this   article   applies   to:  
   
  The   C   Run-Time   (CRT),   used   with:  
  Microsoft   Visual   C++,   32-bit   Editions,   versions   2.0,   2.1,   4.0,   5.0,   6.0  
   
  --------------------------------------------------------------------------------  
   
   
  SYMPTOMS  
  The   linker   generates   the   following   error,   when   you   build   an   MFC   application   with   UNICODE   support   using   the   Microsoft   products   listed   at   the   beginning   of   this   article:    
   
  msvcrt.lib(crtexew.obj)   :   error   LNK2001:   unresolved   external  
  symbol   "_WinMain@16"    
   
   
   
  CAUSE  
  MFC   UNICODE   applications   use   wWinMainCRTStartup   as   the   entry   point.    
   
   
   
  RESOLUTION  
  In   the   Output   category   of   the   Link   tab   in   the   Project   Settings   dialog   box,   set   the   Entry   Point   Symbol   to   wWinMainCRTStartup.    
   
   
   
  STATUS  
  This   behavior   is   by   design.    
   
   
   
  REFERENCES  
  The   above   information   is   documented   in   Books   Online   under   this   structure:    
   
   
    -   C/C++  
          -   Programming   Techniques  
                -   Chapter   12   Developing   for   International   Markets  
                      -   Support   for   Unicode  
                            -   Unicode   Programming:   Summary    
  This   reference   also   lists   the   additional   steps   that   you   need   to   consider   to   take   advantage   of   the   MFC   and   C   run-time   support   for   Unicode.    
   
  Additional   query   words:   3.0   Unicode   wWinMainCRTStartup    
   
  Keywords   :   kberrmsg   kbMFC   kbVC200   kbVC210   kbVC400   kbVC500   kbVC600   kbGrpMFCATL    
  Version   :   winnt:2.0,2.1,4.0,5.0,6.0    
  Platform   :   winnt    
  Issue   type   :   kbprb    
  Technology   :   kbvc      
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值