Solution to normal application initialization (0xc015002) Failure

Source: Internet
Author: User
Tags winsxs folder
Vs2005 sidebyside manifest error Microsoft. vc80.mfc Microsoft. vc80.crt Microsoft. vc80.mfcloc msvcr80.dll mfc80.dll EventLog vc2005 compiled program file, using manifest to specify the DLL file. For WIN98 and win2000 systems, put the EXE file and the vc dll Connection Library together. WINXP and win2003 systems are much more troublesome. By default, the VC Connection Library is stored in the winsxs folder. As a result, these systems directly copy the EXE file, it is often not executed (msvcr80.dll and mfc80.dll files cannot be found), or an error is reported in the event log. Solution: Install vcredist_x86.exe on the target system. Method 2: directly copy the Microsoft. vc80.mfc, Microsoft. vc80.crt, Microsoft. vc80.mfcloc :. /myapp.exe. /MyApp. DLL. /Microsoft. vc80.crt /. /Microsoft. vc80.mfc /. /Microsoft. vc80.mfc/Microsoft. vc80.mfcloc/then modify Microsoft. microsoft. vc80.mfcloc. in the manifest file, change version = "8.0.50727.42" to version = "8.0.50608.0". The folder structure in method 2 is correct in XP and 2003, but in Win98/Win2000, because EXE and DLL are not in the same folder, the DLL cannot be found. What is better? Haha, a foreign Daniel (http://blog.kalmbachnet.de) to find a trick: method 3, 1 first compiled myapp.exe, in the configuration, choose to generate a separate manifest file, such as: myapp.exe. manifest. 2. Copy myapp.exeappsmyapp.exe. manifest to the folder where the folder is located. 4. Change version = "8.0.50727.42" in the Microsoft. vc80.mfcloc. manifest file to version = "8.0.50608.0". 5. Edit all the. manifest files in the myapp.exe folder and delete the publickey value in the file. Usually, publickeytoken = "1fc8b3b9a1e18e3b" 6 then execute myapp.exe.

Solution to normal application initialization (0xc015002) Failure

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.