0
votes

I am trying to run client virtual driver dll (in essence this is not a driver it is user mode code). This dll is loaded by the Citrix Client which has manifests for CRT, MFC, MFCLOC all pointing to Visual Studio 2005.

I have linked my dll to the exact version of C++ runtime found in the manifest files installed with the Citrix Client.

Now, my DLL is pure win32 code with no MFC calls, yet I am getting 'error generating activation context for MFC80.dll'


Msg

Activation context generation failed for "C:\Program Files (x86)\Citrix\ICA Client\MFC80.DLL".Error in manifest or policy file "C:\Program Files (x86)\Citrix\ICA Client\Microsoft.VC80.MFCLOC.MANIFEST" on line 5. Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". Definition is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762". Please use sxstrace.exe for detailed diagnosis.

1
So, did you "use sxstrace.exe for detailed diagnosis"?nvoigt
Got the same error with slight more info in SxSTracedpb
INFO: Manifest Definition Identity is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762". ERROR: Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". Definition is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762". ERROR: Activation Context generation failed.dpb

1 Answers

0
votes

1) Installing the runtime listed in the SxSTrace, solved the problem.