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.
Imagenation.Application object
2. Get the IImageApplication interface from the object.
IImageApplication interface properties
3. Get the IDDE interface from the object.
4. Use the IDDE interface to call DDE Requests and Executes, and to register notifications.
Using DDE Requests through OLE Automation
Using DDE Executes through OLE Automation
5. Quit Imagenation and release the automation object.
See also
OLE Automation equivalents of DDE transaction, notification, and data types