Allan Phillips
2006-04-04 15:18:58 UTC
I have a project that build an MFC application that includes a manifest file
via its .RC file.
The manifest file is included in the .RC file using the following lines:
// now include our WinXP Styles manifest
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST
"res/MyApplication.exe.manifest"
This works just fine in VS-2003. However, when I attempt to link the
application with VS-2005 I get a message stating that there are duplicate
manifests.
If I remove the include of my manifest file the link goes fine. It appears
that a manifest is built automatically. However, when it's finished the
resulting application doesn't use the XP styles.
Is there any way to get VS-2005 to build a manifest that includes XP styles
or is there a way to get VS-2005 to accept the manifest via the .RC file?
Thanks,
Allan.
via its .RC file.
The manifest file is included in the .RC file using the following lines:
// now include our WinXP Styles manifest
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST
"res/MyApplication.exe.manifest"
This works just fine in VS-2003. However, when I attempt to link the
application with VS-2005 I get a message stating that there are duplicate
manifests.
If I remove the include of my manifest file the link goes fine. It appears
that a manifest is built automatically. However, when it's finished the
resulting application doesn't use the XP styles.
Is there any way to get VS-2005 to build a manifest that includes XP styles
or is there a way to get VS-2005 to accept the manifest via the .RC file?
Thanks,
Allan.