我使用的是VC6.0中文版本,我在使用win32application程序的时候 编译的时候都没有报错 而是在连接的时候出现了两个错误不知道为什么 听说要改什么地方的设置 小弟不知 请各位大哥指教
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/a.exe : fatal error LNK1120: 1 unresolved externals

解决方案 »

  1.   

    Project | Settings | Link | Project Options中去除:
    /subsystem:windows
    或者改为:
    /subsystem:console
      

  2.   

    Linking code compiled with /MT with the library LIBC.LIB causes LNK2001 on _beginthread, _beginthreadex, _endthread, and _endthreadex
      

  3.   

    http://community.csdn.net/Expert/topic/2884/2884355.xml?temp=.1657678
      

  4.   

    #pragma comment (linker, "/ENTRY:mainCRTStartup")
    这种方法虽然通过了连接 但是无法显示东西呀 晕 还是非云的方法好用