Atldef.h (689) after reloading vs2010: Error C2061: syntax error: identifier "Dwlen"

Source: Internet
Author: User
Tags win32

20160612 vs2010 syntax error after reloading, the identifier "Dwlen" under the error resolution

Atldef.h (689): Error C2061: syntax error: identifier "Dwlen"

Reason: The project property changes after reloading the VS2010

Solve:

Http://blog.chinaunix.net/uid-21375345-id-2953297.html

http://blog.csdn.net/tjunxin/article/details/7905464

The following describes the "one-time configuration" method, that is, configure once, and then do not have to configure each time.

1. The Execute menu bar View-Other Window-property manager, you can see that the property manager appears on the left side of the workspace. As shown in the following illustration:

2. Double-click Debug | Win32 under the "Microsoft.Cpp.Win32.user", configured in the Pop-up configuration box. This setting is valid for all projects. You can open other projects or create new projects, and you'll see that you've inherited this configuration.

LNK1123: Failed during conversion to COFF: invalid or corrupted file

Http://www.cnblogs.com/newpanderking/p/4003228.html

This error occurs when compiling a C + + project with VS2010:

LNK1123: Failed during conversion to COFF: invalid or corrupted file

Scheme One: (This method is better, the problem can be solved when running with QT)

Copy the C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7601.17514_none_ba1c770af0b2031b directory. Cvtres.exe to C:\Program Files\Microsoft the Visual Studio 10.0\vc\bin directory to overwrite replacements directly.

Programme II:

Is the problem of embedding the list, so the project and all dependent projects are done as follows

Right--> Engineering properties-> Configuration Properties-> Inventory Tool-> input and output-> embedded manifest, select [No]

1>link:fatal Error LNK1123: Failed during conversion to COFF: invalid or corrupted file

1>cvtres:fatal Error CVT1100: Resource duplication. Type: MANIFEST, Name: 1, Language: 0x0409

This is caused by the log file and can be

Project \ properties \ configuration properties \ inventory tools \ Input and output \ Embedded list: It is "yes", change to "no".

or to

Project \ properties \ configuration properties \ linker \ manifest file \ Build manifest: Original is "yes", change to "no".

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.