次の方法で共有


Attributed Programming Concepts

 

The latest version of this topic can be found at Attributed Programming Concepts.

Visual C++ includes a variety of material to help you use attributes in your programs. Attributes, a new feature in Visual C++, are designed to simplify COM programming and .NET Framework common language runtime development. When you include attributes in your source files, the compiler works with provider dynamic-link libraries (DLL) to insert code or modify the code in the generated object files. There are attributes that aid in the creation of .idl files, interfaces, type libraries, and other COM elements. In the integrated development environment (IDE), attributes are supported by the wizards and by the Properties window.

While attributes eliminate some of the detailed coding needed to write COM objects, you need a background in COM fundamentals to best use them.

In This Section

Purpose of Attributes
Presents an overview of attributed programming.

Basic Mechanics of Attributes
Describes how attributes work in your project.

Building an Attributed Program
Provides information about using C++ compiler options in your project.

Attribute Categories
Provides links to the categories of attributes used in Visual C++.

Attribute Programmming FAQ
Answers frequently asked questions about attributed programming.

Attributes Reference
Provides links to reference topic describing the individual attributes and their use.

Debugging Injected Code
Describes debugging attributed programs.

__superand __interface
Links to new C++ keywords related to attributed programming.

(NOTINBUILD)Visual C++ Programming Methodologies
Provides links to topics describing conceptual information about the Visual C++ libraries and topics discussing various coding technologies and techniques.