This page contains links to samples that work with all versions of Visual C++.
Shows how the .NET Framework resource mechanism can be used in C++ applications. It also demonstrates some common Window Forms components.
Implements a simple pocket calculator using C++ and the .NET Framework Windows Forms classes.
Demonstrates how to map C/C++ compiler flags from other compilers to Visual C++.
A standalone Automation client that creates a new Microsoft Excel spreadsheet and generates a pie chart of the data stored on that spreadsheet.
Demonstrates an Automation client application with MAPI for Microsoft Exchange (or Outlook) and compiler COM support.
This sample demonstrates key concepts of new features in C++.
Determines the capabilities of the CPU being run.
Illustrates the basic debugging features of the C run-time libraries.
Demonstrates the C run-time debugging hook functions.
Demonstrates a simple query from an existing SQL database using the console.
Shows how to use the _CrtDoForAllClientObjects C run-time function to iterate through a linked list of client objects.
Uses the Expression Evaluator Add-In API to extend the native debugger expression evaluator.
Demonstrates a multithreaded client and free-threaded server with compiler COM support.
Illustrates the C run-time debugging report functions.
Demonstrates the run-time error checks feature.
Demonstrates a recommended way to implement multilingual resources in a Win32 application.
Demonstrates how to develop a Windows Forms MDI application using C++ and the .NET Framework classes.
A collection of samples based on the classic Scribble sample, updated and extended to include new .NET functionality.
This sample demonstrates how to upgrade code that used deprecated CRT functions to increase code security.
Demonstrates some of the capabilities available when using the STL/CLR Library.
Demonstrates the use of Unicode resource files.
This sample demonstrates how to leverage an existing extended stored procedure and how to use C++ for developing CLR code.