Attributed Programming Concepts
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
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.
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.
Provides links to the categories of attributes used in Visual C++.
Attribute Programmming FAQ
Answers frequently asked questions about attributed programming.
Provides links to reference topic describing the individual attributes and their use.
Debugging Injected Code
Describes debugging attributed programs.
(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.