Modern Windows GUI visual styles
Stewart Gordon
smjg_1998 at yahoo.com
Thu Sep 10 14:44:15 PDT 2009
Roald Ribe wrote:
> Stewart Gordon wrote:
>> Indeed, I drove myself mad trying to find out how to make it work, and
>> eventually discovered keeping a .manifest file alongside the .exe. We
>> need more resources (NPI) teaching how to do it the tidier way.
>
> In your .rc file (which more or less all WIN32 GUI apps needs anyway)
> write in a line like:
>
> CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "manifest.xml"
<snip>
I take it this hasn't been tried by enough D programmers, given that the
DM headers are out of date. One must use the magic numbers directly:
1 24 "manifest.xml"
http://stackoverflow.com/questions/1402137
Stewart.
More information about the Digitalmars-d
mailing list