Closes a dynamic data exchange (DDE) channel established with DDEInitiate(В ).
DDETerminate(nChannelNumber | cServiceName)
- Specifies the channel number to close.
- Specifies the service name to close.
If the channel is successfully closed, DDETerminate(В ) returns true (.T.). If the channel cannot be closed, DDETerminate(В ) returns false (.F.).
Be sure to close channels as soon as they are no longer needed to conserve system resources.
All channels are automatically closed if you exit Visual FoxPro by choosing Exit from the File menu or by issuing QUIT in the Command window or from within a program.