Knowledge Base

Locating Resources to Study Automation

Article ID: 152023

Article Last Modified on 1/19/2007


APPLIES TO


This article was previously published under Q152023

SUMMARY

Automation allows a client application to call methods or properties of a server application. This article provides pointers to resources for studying Automation using the Windows Software Developer Kit (SDK).

MORE INFORMATION

Books

The following books provide a good introduction to implementing OLE automation using the Windows SDK:
  1. Inside COM by Dale Rogerson. A good, practical guide for all COM users. Microsoft Press. ISBN# 1-57231-349-8.

    Give particular attention to Chapter 11: "Dispatch Interfaces and Automation."
  2. Inside Visual C++ by David J. Kruglinski. This fourth edition is a good overall explanation of the capabilities of Visual C++. Microsoft Press. ISBN# 1-57231-565-2.

    Read Chapter 24: "Automation."
  3. OLE Automation Programmer's Reference - Creating Programmable 32-bit applications. Microsoft Press. ISBN 1-55615-851-3.

    Read the following chapters for an introduction of automation servers and clients:

    Chapter 1: "Overview of OLE Automation."
    Chapter 2: "Exposing OLE Automation Objects."
    Chapter 3: "Accessing OLE Automation Objects."

    This book references the HELLO, LINES, BROWSE, and BROWSEH samples that ship with the Win32 SDK and the 32-bit Visual C++ compiler.
  4. Inside OLE - second edition by Kraig Brockschmidt. Microsoft Press. ISBN 1-55615-843-2.

    The following chapters provide information about OLE automation:

    Chapter 14: "OLE Automation and Automation Objects."
    Chapter 15: "OLE Automation Controllers and Tools."
    Chapter 3 : "Type Information."
    Chapter 4 : "Connectable Objects."

Samples

Samples available from the Microsoft Download Center are indicated by the Q number and the Title of the article pointing to the sample. All other samples can be obtained from the Win32 SDK and the 32-bit Visual C++ compiler. All samples are 32-bit unless otherwise indicated.

Servers

Clients

Type Library Browsers

Type Library Builders

Safe Arrays

Optional and Variable Number of Arguments

Collections

MultiLingual Servers

REFERENCES

For additional information about Automation, please click the article numbers below to view the articles in the Microsoft Knowledge Base:

196776 FAQ: Office Automation Using Visual C++

181473 HOWTO: Use OLE Automation from a C Application Rather Than C++

194656 HOWTO: Do 16-Bit Automation in C++ Using VC 1.52

216686 HOWTO: Automate Excel From C++ Without Using MFC or #import

216388 FILE: B2CSE.exe Converts Visual Basic Automation Code to Visual C++

Keywords: kbinfo kbprogramming kbautomation KB152023