How to solve the problem of "msvcr80.dll not found"
There are currently three solutions.
1. Add the following sentence to the CPP file:
# Ifdef _ debug
# DEFINE _ libraries_sub_version debug
# Else
# DEFINE _ libraries_sub_version
# Endif
// Manifest for the CRT
# Pragma comment (linker,/manifestdependency:/type = Win32/
Name = _ libraries_assembly_name_prefix.
_ Libraries_sub_version CRT/
Version = _ crt_assembly_version/
Processorarchitecture = x86 /)
// Manifest for the MFC
# Pragma comment (linker,/manifestdependency:/type = Win32/
Name = _ libraries_assembly_name_prefix.
_ Libraries_sub_version MFC/
Version = _ crt_assembly_version/
Processorarchitecture = x86 /)
# Pragma comment (linker,/manifestdependency:/type = Win32/
Name = _ libraries_assembly_name_prefix. mfcloc/
Version = _ crt_assembly_version/
Processorarchitecture = x86 /)
Refer:
Http://www.codeproject.com/cpp/PrivateAssemblyProjects.asp? MSG = 2122107
2. Add the following sentence to the CPP file:
# Pragma comment (linker, // manifestdependency: TYPE = Win32 name =
Microsoft. vc80.crt version = 8.0.50608.0 processorarchitecture = x86
Publickeytoken = 1fc8b3b9a1e18e3b Language = */)
Refer:
Http://jewelry-wolf.spaces.live.com/blog/cns! 9041d1290ef1_b0! 591. Entry
3. Add
/D _ vc80_upgrade = 0x0710
It can solve the problem that the debug version cannot run.
This is a method I have discovered and is very practical. The principle is unknown.