DdeCallback_Connect is called when a client wants to open a channel to UniScript.
bool is TRUE (1) when the channel was successfully opened and FALSE (0) if the function was unsuccessful.
ssService is a service name. For UniPlot, it is the name "UniPlotSL".
ssTopic is the topic name.
The standard DDE callback function which is located in the UniPlot/script/obj_dde.ic file is only a function body. To use UniPlot as a DDE server, you have to add code to this function.
Sub Main chan = DDEInitiate("UniPlotSL", "xyz") DDETerminate(chan) End Sub
The standard DDE callback functions in UniScript are only function bodies. They produce the following output into the UniScript command window:
---Connect--- Service: UniPlotSL, Topic: xyz ---ConnectConfirm--- Conversation-No.: a000500, Service: UniPlotSL, Topic: xyz ---Disconnect--- Conversation-No.: a000500