在eclipse中将应用程序清单添加到win32应用程序 [英] Add application manifest to a win32 application in eclipse
问题描述
如何将应用程序清单添加到在Eclipse中开发的Win32应用程序?
我想添加一个清单,以便使用 Comctl32.dll
的版本6,根据文章来创建表单控件。
我使用MingW32工具链和eclipse。
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.
推荐答案
回答我自己的问题:
Add <在使用MinGW资源编译器编译之前,code> CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFESTYourApp.exe.manifest到 .rc
c $ c> windres
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
这篇关于在eclipse中将应用程序清单添加到win32应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!