6.3.2 Loading and Initializing Object Handlers

Normally, an object is manipulated by a server application through the client and server DLLs. However, if an object handler has been registered in the registration database, the handler can take the place of the server.

Once registered, the handler is invoked when the client application calls one of the following eight object-creation functions:

OleCreate OleCreateLinkFromClip
OleCreateFromClip OleCreateLinkFromFile
OleCreateFromFile OleCreateInvisible
OleCreateFromTemplate OleLoadFromStream

As described later in this chapter, all eight of these object-creation functions will have corresponding functions in the object handler.

For more information on object-creation functions, see Chapter 7, "Callback Functions and Data Structures," and Chapter 9, "The OLE Client DLL."