The ultimate solution to the failure of the application's normal initialization (0XC0150002)

Source: Internet
Author: User
Tags vc runtime

Conversion from VC error: http://www.vcerror.com/?p=62


Recently done a project to write a VC6 MFC program, the results to others on the machine (WIN7) The application of the normal initialization (0XC0150002) Failure of the problem, was thought to be the problem of WIN7, then the program copied to a WinXP SP3 under the program or not.

Why my machine can, and others do not run on the machine.

Start Google, find a solution--when the program runs wrong, right button "My Computer", then click "Management", then click "Event Viewer", and finally look at the "system", the information is as follows:

(1) The attachment assembly Microsoft.VC80.DebugCRT was not found, and the previous error was that the referenced assembly was not installed on the system.

(2) Resolve Partial assembly for Microsoft.VC80.DebugCRT failure. Reference error message: The referenced assembly is not installed on the system.

(3) Generate activation context for c:/scanfile/debug/libclamavd.dll failure. Reference error message: Operation completed successfully.

Can be judged is LIBCLAMAVD load time out a bit of a problem, look at its manifest file, The dependency library is Microsoft.VC80.DebugCRT, so the problem is obvious, this DLL is compiled under VS2005, and there is no one on the other machine, and the application we are compiling generates an error due to the lack of the required debug version of the VC runtime.

Workaround:

Specific solution reference article: http://www.vcerror.com/?p=62

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.