Copying the missing file msvcr80.dll to the application's folder does not work because the Microsoft Visual C/C++ Runtime files require Side-by-Side deployment.
Running a compiled stand-alone that loads a shared DLL that has been compiled with MSVC++ 2005 requires a manifest file for the executable, in order for the operating system to load the C/C++ runtime libraries correctly.
To work around this issue, create a file with the same name as your executable and the additional extension ".manifest". For example if your executable is called "MyTest.exe", create a new empty file called "MyTest.exe.manifest" in the same folder that contains the executable. Now open the file with a text editor and enter the following XML code in it:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>
Running the stand-alone application should now work correctly.
Best Answer