How do I ad开发者_Go百科d 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.
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
精彩评论