AMD 64 Optron and Manifest

When I add manifest to my application it does not work on AMD Optron 64 Biit platform. But the same application when built without Manifest works fine. I am a little puzzled wether Manifest has any special mechanism of deployment on AMD optron 64 bit machine.

[267 byte] By [Chanakya] at [2007-12-17]
# 1
In the application manifest, there is an element named <assemblyIdentity> which has a processorArchitecture attribute.
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="CompanyName.ProductName.YourApplication"
type="win32"
/>
Maybe you can try to replace the processorArchitecture attribute by something like "x64" or "X64".
(I found no mention of such a thing using the MSDN search engine but you can still have a try...)
AurlienCouderc at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

We are trying to embed the manifest in Binaries (dlls) and when we investigated in them we found following in the binaries.
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50215.4652" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>

here the processor architechture is "amd64" do we need to make it x64?

please let us know.

Chanakya at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3
Are you trying to run your application on the same machine you built it or on another one?

Thanks,
Ayman Shoukry
VC++ Team

AymanShoukry at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 4
on a different machine with no VC8 installation. We have provided the VS 8.0 Runtime though!
Chanakya at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 5
In this case I would advise you to make sure you have the dependencies setup as described in details at http://blogs.msdn.com/nikolad/archive/2005/03/18/398720.aspx since you will need the SxS installation on the 64 bit machine.

Thanks,
Ayman Shoukry
VC++ Team

AymanShoukry at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 6
i tried the steps mentioned in the article. but stiil it is not working.
i tried to see the dependency for CallMethods.exe. it shows the following error:
Error: The side-by-side configuration information in "c:\sched_mani\bin\winnt.5.2.1_x86-64_msvc_8.0\samples\CALLMETHODS.EXE" contains errors. This application fails to start because the application configuration is incorrect. Reinstalling the application may (14001)
i am using the following cl:
C:\build>cl
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50215.44 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
C:\build>

and the following manifest files:
Microsoft.VC80.CRT.manifest
Microsoft.VC80.DebugCRT.manifest
Microsoft.VC80.DebugMFC.manifest
Microsoft.VC80.MFC.manifest

Chanakya at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 7
Could you try the most recent RC build. It looks like there something regarding the installation of the SxS on the 64bit machine.

Thanks,
Ayman Shoukry
VC++ Team

AymanShoukry at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 8
sorry i didnt get you. what is 'RC' build?
Chanakya at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 9
RC stands for Release Candidate. Check out http://lab.msdn.microsoft.com/vs2005/get/default.aspx for more details.

Thanks,
Ayman Shoukry
VC++ Team

AymanShoukry at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 10
after installing ".Net Framework Version 2.0 Redistributable Package Beta 2 x64 (64 bit)" on test machine from http://lab.msdn.microsoft.com/vs2005/downloads/netframework/ CLI's are working but GUI samples still shows the "side-by-side" configuration issue (errno 14001)
Chanakya at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 11

Could you put it under the debugger and see which dlls are trying to be loaded?

Thanks,
Ayman Shoukry
VC++ Team
AymanShoukry at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...