In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about what to do when there is an error LNK1123: failure during conversion error in VC. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
problem
Open VC2010 to create a very simple Win32Console program, and then press F5 to run the program with the following error prompt:
Error LNK1123: failure during conversion to COFF: file invalid or corrupt
Error cause analysis
The prompt indicates that the conversion to the COFF file failed because of an error (VS2010 is installed, there is usually no [file invalid] error).
It is the cvtres.exe program that completes the conversion. The root cause of the above error is that there are multiple versions of cvtres.exe in the system.
Version under the system directory: C:\ Windows\ Microsoft.NET\ Framework\ v4.0.30319\ cvtres.exe
Version under the VS directory: C:\ Program Files (x86)\ Microsoft Visual Studio 10.0\ VC\ BIN\ cvtres.exe
If it is a 64-bit system, there will also be a file with the same name located at: C:\ Windows\ Microsoft.NET\ Framework64\ v4.0.30319\ cvtres.exe
However, the next two versions of Framework and Framework64 are the same, and due to system updates, they are generally newer than the version under the VS directory.
At this point, the solution is obviously simple, just renaming or deleting the old version.
For the version of the observation file, please refer to the following figure:
After reading the above, do you have any further understanding of what to do if there is an error LNK1123: failure during conversion error in VC? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.