image\bookshls.gif Using DDE transactions through OLE Automation: Overview

 

You can call DDE Requests, Executes, and Notifications through OLE Automation. While this is not true object-oriented programming, it does allow you to use virtually all the DDE API functionality through OLE Automation instead of having to use DDEML.

To use DDE transactions through OLE Automation:

1. Get the Imagenation.Application object from the registry.

 image\pages.gif Imagenation.Application object

2. Get the IImageApplication interface from the object.

 image\pages.gif IImageApplication interface properties

3. Get the IDDE interface from the object.

 image\pages.gif IDDE interface

4. Use the IDDE interface to call DDE Requests and Executes, and to register notifications.

 image\pages.gif Using DDE Requests through OLE Automation

 image\pages.gif Using DDE Executes through OLE Automation

 image\bookclss.gif Requesting notifications

5. Quit Imagenation and release the automation object.

 image\pages.gif Quitting Imagenation

See also