Chapter 5 Implementing OLE into Client Applications

This chapter provides guidelines to help you add OLE client capabilities to a new or existing application. Because OLE client capabilities affect only a few specific parts of your application, you can write the rest of your application first and add OLE-specific functionality at any time.

To implement OLE client capabilities in an application, you must add the following OLE-specific parts to your application:

Data structures and callback functions

Initialization code to start up a client application

Code for managing documents

Code for working with objects

Code for implementing the Edit menu commands

Code for closing a client application

This chapter begins with a discussion of what a client application is and how client and server applications work together, and then continues with the steps needed to create an OLE client application.