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.

Attributes Walkthroughs

  • 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.

Interoperability Walkthroughs

Libraries Walkthroughs

  • 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