两者运行的支持平台不同,GUI的是winmain,dos控制台的是main

解决方案 »

  1.   

    win32 Application ----windows应用程序
    win32 console application-----DOS应用程序
      

  2.   

    win32 Application ----windows GUI应用程序 
    win32 console application-----控制台应用程序,不是DOS应用,而是32位的Windows程序(可以使用Win32提供的多数服务),不过是命令行方式,不能在16位的DOS下运行。
      

  3.   

    Application Type Entry Point Startup Function Embedded in Your Executable 
    GUI application that wants ANSI characters and strings  WinMain WinMainCRTStartup 
    GUI application that wants Unicode characters and strings wWinMain wWinMainCRTStartup 
    CUI application that wants ANSI characters and strings  main mainCRTStartup 
    CUI application that wants Unicode characters and strings  wmain wmainCRTStartup 
      

  4.   

    Application Type Entry Point Startup Function Embedded in Your Executable 
    GUI application that wants ANSI characters and strings  WinMain WinMainCRTStartup 
    GUI application that wants Unicode characters and strings wWinMain wWinMainCRTStartup 
    CUI application that wants ANSI characters and strings  main mainCRTStartup 
    CUI application that wants Unicode characters and strings  wmain wmainCRTStartup