Export (0) Print
Expand All

Visual C++ Sample Applications

You can access sample code in two ways:

  • Browse the sample abstracts in this section. Each abstract contains a link to open or copy the sample's files. For help on locating a particular sample, see Finding a Sample.
  • Browse the Visual C++ samples directory structure on the product CD or DVD (Samples\vc).

In This Section

Libraries

Active Template Library (ATL)
Samples that show how to use ATL to write COM objects.
ATL Server
Samples that show how to use the ATL Server Library to write XML Web services and Web applications.
Attributes
Attributed versions of the ATL samples that show how to use attributes to simplify COM programming.
C Run-Time Library
Samples that show how to use the C run-time library functions to debug a program.
Microsoft Foundation Class Library (MFC)
Samples that show how to use MFC in desktop applications, DLLs, database applications, controls, Web applications, and more.
OLE DB Templates
Samples that show how to write OLE DB consumers and providers.
Standard Template Library (STL)
Samples that demonstrate how to use various STL containers.

Compiler

AMD Intrinsics
Provides a link to samples available on the Advanced Micro Device's (AMD) Web site.
Compiler COM Support
Samples that demonstrate the Visual C++ compiler's built-in support for COM.
MASM
Samples that demonstrate support for Microsoft Macro Assembler (MASM) source files in Visual C++.

Debugging

C Run-Time Library
Samples that show how to use the C run-time library functions to debug a program.
Debugging
A sample related to using and extending the Visual Studio debugger.

Extensibility

Code Model
Samples that demonstrate various features of the Visual C++ Code Model.
Custom Wizard
Samples that show how to create your own wizards to streamline tasks.
Project Model
Samples that show how to programmatically use objects in the project model.

Other Features

Event Handling
Samples that demonstrate event handling in Visual C++.
International
Samples related to writing code for international markets.
Platform SDK
Provides a link to the Web location where you can find samples that demonstrate technologies documented in the Platform SDK.
Windows Image Acquisition (WIA) Sample
A sample that demonstrates the Windows Image Acquisition (WIA) API.

Related Sections

Show:
© 2014 Microsoft