convert a console app to a windows app

后端 未结 2 2039
醉酒成梦
醉酒成梦 2020-12-11 00:37

(its a long story) but I have a large complex project file containing a windows program. Unfortunately the project was originally built as a console app. The program compile

2条回答
  •  孤城傲影
    2020-12-11 01:03

    Right-click the project icon in the Solution Explorer, then Properties > Linker > System > SubSystem, and set that to Windows. You'll also have to change your main() method to WinMain(). And you'd better create some windows or there won't be much to look at.

提交回复
热议问题