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.

Reply via email to