Pelles C forum

Pelles C => General discussions => Topic started by: post from old forum on September 13, 2004, 09:25:12 PM

Title: WinXP Manifest
Post by: post from old forum on September 13, 2004, 09:25:12 PM
How do I use the manifest in a
the resource file , to generate
the XP style ??
The standard solution Pelles generates
does not work for me.
The strange thing about it is that
when I rename the XML file in e.g :
myapp.exe.manifest then the XP style
shows up.
So the manifest file is good.
But when I use it from the .RC file
it doesn't work.
Does the manifest needs a special ID ??

Peter.
Title: WinXP Manifest
Post by: post from old forum on September 13, 2004, 09:25:45 PM
The resource ID must be 1 (CREATEPROCESS_MANIFEST_RESOURCE_ID) and you need to call InitCommonControls() in the program. AFAIK, this was fixed to version 2.72.

Pelle
Title: WinXP Manifest
Post by: post from old forum on September 13, 2004, 09:26:18 PM
Thanks that did the trick !!!

Peter (PK4BCX2)