Seems that windows cares about manifests and a mismatched processor architecture is not good. Fix amd64 paint in windows.

svn path=/branches/ros-amd64-bringup/; revision=44036
This commit is contained in:
Samuel Serapion 2009-11-09 07:13:48 +00:00
parent 2e7b3fde50
commit 5ad4bf2911
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
name="DevCpp.Apps.Paint"
processorArchitecture="amd64"
version="1.0.0.0"
type="win32"/>
<description>Paint</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="amd64"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

View file

@ -41,4 +41,9 @@
// THIS WILL MAKE THE PROGRAM USE THE COMMON CONTROLS
// LIBRARY VERSION 6.0 (IF IT IS AVAILABLE)
//
#ifdef _AMD64_
1 24 "paint.exe.amd64.manifest"
#elif _X86_
1 24 "paint.exe.manifest"
#endif