A LispWorks client can open a conversation by using
, which takes a service designator and a topic designator as its arguments. If successful, a conversation object is returned which can be used to refer to the conversation. Conversations are closed by the LispWorks client at the end of a transaction by using
dde-connect service topic &key class errorp
attempts to create a conversation with a DDE server specified by
, on the topic given by
disconnects the conversation object specified by
. The conversation may no longer be used.
Another method for managing conversations uses
to bind a conversation with a server across a body of code. If no conversation is available for
, then one is automatically opened,
is executed, and then the conversation is closed.
with-dde-conversation (conv service topic &key errorp new-conversation-p)
dynamically binds a conversation with a server across the scope of a body of code specified by
. The argument
is bound to a conversation with the server specified by
, and the topic specified by