MFC 代码无错却无法运行

在 调试中 -前项目的属性 - 连接器 - 系统 - 子系统(选择窗口) 

原文地址:https://www.cnblogs.com/lianfeng132/p/13334951.html