在 调试中 -前项目的属性 - 连接器 - 系统 - 子系统(选择窗口)
MFC 代码无错却无法运行
原文:https://www.cnblogs.com/lianfeng132/p/13334951.html