ddeclose_terminate_dde_server_link_.htm
| Navigation: Language Reference > App A - DDE, OLE, and OCX > DDE Procedures >====== DDECLOSE (terminate DDE server link) ====== | ![]() ![]() |
DDECLOSE( channel )
| DDECLOSE | Closes an open DDE channel. |
| channel | The label of the LONG integer variable containing the channel number–the value returned by the DDESERVER or DDECLIENT procedure. |
The DDECLOSE procedure allows a DDE client program to terminate the specified channel. A channel is automatically terminated when the window which opened the channel is closed.
Errors Posted:
| 601 | Invalid DDE Channel |
| 602 | DDE Channel Not Open |
| 605 | Time Out |
Example:
WinOne WINDOW,AT(0,0,160,400)
END
SomeServer LONG
CODE
OPEN(WinOne)
SomeServer = DDECLIENT('SomeApp','MyTopic') !Open as client
ACCEPT
END
DDECLOSE(SomeServer)
See Also:
ddeclose_terminate_dde_server_link_.htm.txt · Last modified: by 127.0.0.1




