Comparing OLE & DDE Message Protocols and Libraries

Last reviewed: August 5, 1996
Article ID: Q74807
The information in this article applies to:
  • Microsoft OLE version 1.0

At the Windows operating system level, both OLE and dynamic data exchange (DDE) are protocols for exchanging data and sending commands between applications. For Windows versions 3.0 and 3.1, neither the OLE libraries nor the Dynamic Data Exchange Management Library (DDEML) depend on special interprocess communications (IPC) mechanisms provided by the operating system. Rather, both OLE and DDE depend on the Windows messaging facility.

At the Windows operating system level, the OLE protocol is built on top of the DDE protocol. More specifically, the OLE protocol is largely a set of DDE Execute command strings that follow a conventional syntax.

At the application level, a function-based application program interface (API) is available for both OLE and DDE. For OLE, this API is provided to clients by the OLECLI.DLL file and to servers by the OLESVR.DLL file. For DDE, this API is provided by the DDEML.DLL file.

Despite the fact that OLE uses DDE as its transport mechanism, the present implementation of OLE is independent of the DDEML. This does not signify any functional or performance deficiencies of DDEML. Because the OLE libraries and DDEML were implemented in parallel, the schedule did not allow for this version of the OLE libraries to use DDEML.

It is quite likely that future versions of the OLE libraries will use DDEML rather than directly coding DDE messages.


Additional reference words: OLE DDEML 3.10 3.1 1.00
KBCategory: kbole kbprg kbwebcontent
KBSubcategory: LeoneCliMisc LeoneSvrMisc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 5, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.