All Manuals > LispWorks® User Guide and Reference Manual > 50 The DDE client interface

define-dde-client Macro

Summary

Registers a client service.

Package

win32

Signature

define-dde-client name &key service class => name

Arguments
name
A symbol.
service
A string.
class
A subclass of dde-client-conversation.
Values
name
A symbol.
Description

The macro define-dde-client defines a mapping from the symbol name to the DDE service name with which to establish a conversation, and the conversation class to use for this conversation.

service is a string which names the DDE service. It defaults to the print-name of name.

class is a subclass of dde-client-conversation which is used for all conversations with this service. It defaults to dde-client-conversation. Specifying a subclass allows various aspects of the behavior of the conversation to be specialized.

Note that it is generally not necessary to register client services unless a specialized conversation type is required. However, it is sometimes convenient to register a client service in order to allow the service name to be changed in the future.

See also

dde-connect
dde-disconnect
with-dde-conversation


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:09