Windows GUI + Console Output, Linux-style

前端 未结 4 868
再見小時候
再見小時候 2020-12-18 21:10

I have a GUI application, which I am developing cross-platform for Linux and Windows. On Linux, everything works smoothly. However, I\'ve run into a hitch on Windows. I woul

4条回答
  •  清歌不尽
    2020-12-18 21:38

    We use ::AllocConsole() instead of ::AttachConsole and it remains open throughout the app. Try that?

提交回复
热议问题