VS2012的Windows程序不显示DOS窗口 需要在工程属性“Linker”里设置两项: 一,Link选项,System->SubSystem选windows。 二,Link选项,Advance->Entry point,添加或修改成“wmainCRTStartup”