Understanding OLE Functions
OLE automation is a Microsoft Windows protocol that enables one application to control another’s operation. The applications communicate by means of an OLE object. One of the applications (called the automation server) makes available an OLE object that the second application (the client application) can use to send commands to the server application. The OLE object has methods associated with it, each of which corresponds to an action that the server application can perform. The client runs the methods, which cause the server application to perform the specified actions.
PeopleCode includes a set of functions that enable your PeopleCode program to be an OLE client. You can connect to any application that’s registered as an OLE automation server and invoke its methods.
Note:
Differences in Microsoft Windows applications from one release to the next (that is, properties becoming methods or vice versa) can cause problems with the ObjectGetProperty, ObjectSetProperty and ObjectDoMethod functions.
See the documentation for the OLE-automated application.
Related Topics