Microsoft KB Archive/74806

= Comparing DDEML to the OLE Libraries =

Article ID: 74806

Article Last Modified on 3/3/2005

-

APPLIES TO


 * Microsoft OLE 1.0

-



This article was previously published under Q74806



The functionality of the Dynamic Data Exchange Management Library (DDEML) is largely encompassed by that of the OLE libraries. However, there is some functionality that the DDEML supports that the OLE libraries do not.

Multiple Items Per Conversation
The DDEML supports multiple, simultaneous, item advise loops per conversation. A single pair of window handles serves as the source and destination for DDE messages that may create advise loops for any number of items. In contrast, the OLE libraries support only one item (object) per conversation. If a client wants to establish a link to several items (objects) in a server document, it must establish multiple conversations with the server, one for each item. Although this is not difficult to program in the client application, it does incur the memory and performance overhead of multiple DDE windows, as opposed to a single DDE window.

It is possible to use the OLE libraries to simulate the multiple items-per-conversation capability of the DDEML. The identification of an item can be attached to all data packets for the item. However this technique works only for clients and servers that agree upon a particular convention for creating such data packets. This technique is not be backward-compatible with existing DDE applications.

Generalized Support for the DDE &quot;System&quot; Topic
The OLESVR library responds to requests for these standard DDE &quot;System&quot; topic items: EditItems, protocols, topics, formats, and status. (EditItems is a new standard DDE &quot;System&quot; topic item that supports the OLE StdFileEditing command.) An application using OLESVR to implement DDE has no opportunity to influence the response of OLESVR to requests for these &quot;System&quot; topic items. Further, the application has no opportunity to respond to requests for other &quot;System&quot; topic items that it might define, or to requests for the SysItems &quot;System&quot; topic item.

In contrast, the DDEML provides generalized support for any &quot;System&quot; topic.

Additional query words: 3.10 1.00 OLE DDEML

Keywords: kbprogramming kbdde KB74806

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.