Is there any reason to use Dynamic Data Exchange (DDE) in a modern Windows application?
If not, what alternative technology would you use instead?
Because attackers have taken advantage of DDE, macros and ActiveX controls to deliver malicious payloads, Object Linking and Embedding (OLE) has effectively replaced Dynamic Data Exchange. Some Microsoft products still support DDE, however, in order to provide newer applications with backwards compatibility.
Windows provides several methods for transferring data between applications. One method is to use the Dynamic Data Exchange (DDE) protocol.
DDE was introduced in Windows 2.0 back in 1987 and currently used by thousands of applications such as Microsoft Word, Microsoft Excel, and Visual Basic.
For example, to initiate a DDE conversation with Excel, type "Excel" for the application argument. A string expression that is the name of a topic recognized by application. The topic argument is often a document or data file.
Modern code uses COM for this. There is a tall stack of defined COM interfaces that you implement to receive the sort of stuff that DDE can deliver.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With