http://www.transmissionzero.co.uk/computing/win32-apps-with-mingw/
The -Wl,--subsystem,windows linker switch ensures that the application is built as a Windows GUI application, and not a console application. Failing to do so would result in a console window being displayed whilst your application runs, which is probably not what you want. We must also link with comctl32, which we require due to using visual styles in our application, so we include -lcomctl32 on the linker command line too.
本文介绍如何通过使用MinGW和特定链接器开关-Wl,--subsystem,windows来确保应用程序作为Windows GUI应用而非控制台应用运行。此外还讲解了如何链接到comctl32以使用视觉样式。
2330

被折叠的 条评论
为什么被折叠?



