Could not find a msvcp90.dll solution to the accident.

Source: Internet
Author: User


Author: Zhu Jinchan

Source: http://blog.csdn.net/clever101

Last week colleagues used VS2008 to compile a C + + console project. Engineering can be compiled successfully in release mode, but running always shows errors that cannot be found msvcp90.dll. There is no problem compiling and running on my machine. I used depends to open the EXE file, use the full path to view the dependent library, and found that Msvcp90.dll (the colleague's vs 2008 has already been installed VS 2008 SP1). The project has been set up to embed the manifest file, why can not find msvcp90.dll it. For a moment I could not think of a solution. I thought of simply ignoring the idea of the library, setting up the ignore specified library in the relase mode of the project: Msvcp.lib. Something wonderful has come up, and the program actually works. Then use depends open EXE program to observe, found that can find Msvcp90.dll. I checked on the Internet, there is no real msvcp.lib this library file. Ignoring an import library that doesn't exist actually solves the problem. I can only guess to ignore this library after changing the internal PE file structure. Now let's write it down and see if there's a chance to figure it out later.

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.