How to solve the problem that "msvcr80.dll cannot be found"

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.