Add application manifest to a win32 application in eclipse

懵懂的女人 提交于 2019-12-01 08:49:35

问题


How do I add an application manifest to a Win32 application being developed in Eclipse ? I want to add a manifest in order to use version 6 of Comctl32.dll which, according to this article is necessary to create form controls with a Windows XP visual style. I'm using MingW32 toolchain with eclipse.


回答1:


To answer my own question: Add CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest" to the .rc file before you compile it with MinGW resource compiler, windres



来源:https://stackoverflow.com/questions/7245962/add-application-manifest-to-a-win32-application-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!