win32-apps-with-mingw

来源:互联网 发布:灯塔软件 编辑:程序博客网 时间:2024/05/20 01:44

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.

0 0