This documentation is archived and is not being maintained.
Visual C++ Walkthroughs
Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.
- Creating a COM DLL with COM Attributes Using a Text Editor
- Demonstrates how to quickly develop a simple COM server using various attributes with a text editor.
- Creating a COM Server Using Wizards
- Demonstrates how to quickly develop a simple COM server using various attributes with Visual C++ wizards.
- Creating an ActiveX Control with Attributes
- Uses attributes and wizards to create a simple ActiveX control.
- Exploring COM Interoperability with ATL and Managed Extensions for C++
- Describes using Managed Extensions for C++ and ATL to target the common language runtime.
- Creating .NET Framework Components That Consume Data from Visual C++ Applications
- Provides step-by-step instructions for creating a Visual C++ application that allows access by a .NET Framework component.
- Creating Visual C++ Applications That Consume Data from .NET Framework Components
- Provides step-by-step instructions for creating a Visual C++ application that consumes data from .NET Framework components.
- ATL Tutorial
- Leads you through the creation of a control and demonstrates some ATL fundamentals in the process.
- Attributes Tutorial
- Leads you through the creation of a client and a server application using attributes and events.
- ATL Server Tutorial
- Shows how to create a simple online store that accesses a database. Covers some basic and advanced features of ATL Server including handling forms, validating user input using regular expressions, creating and using cookies, exposing statistics as performance counters, creating dynamic services, using cryptography, and more.
- Creating a Rich Client Application with MFC
- Demonstrates how to create a rich-client interface using the Microsoft Foundation Class (MFC) Library, a well-tested class library that supports a broad range of features common to all Windows applications, and consume an XML Web service created with Visual Basic or Visual C#.
Windows Forms Walkthroughs
- Creating a Simple Windows Form
- Demonstrates how to make a simple "Hello, World" application.
- Creating Dynamic Context Menus on Windows Forms
- Steps through a detailed example of creating a single context menu to serve two or more different controls.
- Retrieving Dialog Box Information Collectively Using Objects
- Gives directions for using an object to expose a group of related data from a dialog box.
- Switching Windows Forms Menu Structures Based on Application State
- Gives directions for switching between MainMenu objects programmatically.
- Updating Status-Bar Information at Run Time
- Explains how to programmatically control the data within status-bar panels.
XML Web Services Walkthroughs
- Creating an XML Web Service Using ATL Server
- Describes the process for creating an XML Web service that converts temperatures measured in Fahrenheit to Celsius using Visual C++ and ATL Server.
- Creating an XML Web Service Using Managed Extensions for C++
- Describes creating an XML Web service using Managed Extensions for C++ and the ASP.NET Web Service project template, implementing the XML Web service, and deploying the XML Web service.
- Accessing an XML Web Service Using C++
- Describes the process for accessing an XML Web service from an application created using Managed Extensions for C++.
- Accessing an XML Web Service Using Managed Extensions for C++
- Describes the process for accessing an XML Web service from an application created using Visual C++.
- Visual C++ Sample Applications
- Provides links to sample code showing the capabilities of Visual C++ and the libraries and technologies that it supports.
- Managed Extensions for C++ Samples
- Provides links to samples that show how to use Managed Extensions to write .NET applications in C++.
- Visual Studio Walkthroughs
- Gives a related list of walkthroughs for all areas of programming in Visual Studio.