C++ ->error LNK1123

The ultimate solution:
After VS2010 has undergone some updates, an "error LNK1123" error will appear when creating a Win32 Console Project. The solution is to change Project | Project Properties | Configuration Properties | List Tools | Input and Output | Embedded List "Yes" to "Yes" "No" is fine, but you must set this once before creating a new project.
When creating a VS2010 Win32 Project project, the "error LNK1123" error still occurred according to the above solution. After checking the information on the Internet, the solution is:
Step 1: The same as above.
Step 2: Change Project|Project Properties|Configuration Properties|Connectors|Manifest File|Embed Manifest "Yes" to "No".
Step 3: Generally, the computer can solve the problem after the last two steps, but if there is still a problem, then follow the method to solve:
whether the computer is a 64bit operating system, if so, continue to 2.
Look for two cvtres.exes. One is C:\Program Files(x86)\Microsoft Visual Studio 10.0\vc\bin\cvtres.exe and the other is C:\Windows\Microsoft.NET\Framework\v
4.0.30319\cvtres.exe. Right-click Properties | Details to view both version numbers, delete/rename the older version, or reset the Path variable.

Surprisingly, the solution to the root cause is the third step. After deleting the old version of cvtres.exe, there is no need to set the configuration every time.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325216205&siteId=291194637