The client application makes function calls to the client DLL, which initiates communication with the server DLL (and ultimately, the server application). All status and object information the server application has for the client application is passed back through OLECLI.DLL. The client application's CallBack function processes this information; see Chapter 5, "Implementing OLE into Client Applications," for details on how the client handles this task.
OLECLI.DLL provides 55 functions for use by client applications. The functions are divided into the following categories:
Category | Description |
Document Management | Set of functions used to obtain information about documents containing OLE objects. |
Object Creation and Deletion | Set of functions used to add or delete an OLE object from a document. |
Object Management | Set of functions used to open, close, or draw OLE objects. |
Object Information | Set of functions used to obtain specific information about the an OLE object. |
Object Updating | Set of functions used to update and to notify the client application of changes made to an OLE object. |
Miscellaneous | Set of functions used to perform tasks on OLE objects as the need may arise; for example, locking and unlocking OLE server applications in memory. |
The following sections describe the OLECLI.DLL functions. Each major section contains a summary of the functions within that category and detailed reference information on each function.