c++:vs2010 LNK1123: Failed during transition to COFF: invalid or corrupt file

Source: Internet
Author: User

VS2010 (32-bit Win7 system), compile with error: "VS2010 LNK1123: Failed during transition to COFF: invalid or corrupt file". Solutions found on the Web:

Method One: Go directly to the steps: Project →** properties → configuration properties → inventory tools → input/output → embed list, change this option from Yes to No.

Shortcomings, each new project to be re-modified, too troublesome!

Method Two: Replace the Cvtres.exe with the new version.

Step: Add C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7601.17514_none_ Copy the Cvtres.exe file from the ba1c770af0b2031b directory to: Install directory \microsoft Replace the original Cvtres.exe in Visual Studio 10.0\vc\bin. If you are not assured you can first back up the original Cvtres.exe file. The pro-test is effective.

c++:vs2010 LNK1123: Failed during transition to COFF: invalid or corrupt file

Related Article

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.