Installing applications using Microsoft runtime .dll's: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
(Created page with '====Side By Side error==== If you build an application that uses native .dll's that uses Microsoft Visual C++ runtime .dll's you need to install these runtime .dll's together wit…')
 
No edit summary
Line 1: Line 1:
[[Category:English pages]]
[[Category:Software development]]
====Side By Side error====
====Side By Side error====
If you build an application that uses native .dll's that uses Microsoft Visual C++ runtime .dll's you need to install these runtime .dll's together with your application, or you will get errors like these:
If you build an application that uses native .dll's that uses Microsoft Visual C++ runtime .dll's you need to install these runtime .dll's together with your application, or you will get errors like these:
Line 23: Line 25:
The files can be downloaded here:
The files can be downloaded here:
* [http://www.yggenyk.dk/wiki/images/Microsoft.VC80.CRT.zip Microsoft.VC80.CRT.zip]
* [http://www.yggenyk.dk/wiki/images/Microsoft.VC80.CRT.zip Microsoft.VC80.CRT.zip]
<google>ENGELSK</google>

Revision as of 13:59, 10 March 2012

Side By Side error

If you build an application that uses native .dll's that uses Microsoft Visual C++ runtime .dll's you need to install these runtime .dll's together with your application, or you will get errors like these:


SideBySide error dialog.png


In the event log, there is an Event 33, SideBySide error.

Activation context generation failed for "C:\Release\NativeManifestTest.exe". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053" could not be found. Please use sxstrace.exe for detailed diagnosis.

If you start the application from Microsoft Visual Studio, you can get the error:

Error while trying to run project: Unable to start program 'C:\dev\mickey\NativeManifestTest\NativeManifestTest\bin\Release\NativeManifestTest.exe'.
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log.

Create a sub folder called Microsoft.VC80.CRT in same folder where the .exe filel is located. Place following 4 files in the Microsoft.VC80.CRT folder

  1. Microsoft.VC80.CRT.manifest
  2. msvcm80.dll
  3. msvcp80.dll
  4. msvcr80.dll

The files can be downloaded here:

<google>ENGELSK</google>

id=siteTree