Compartir a través de


DDETerminate( ) Function

Closes a dynamic data exchange (DDE) channel established with DDEInitiate( ).

DDETerminate(nChannelNumber | cServiceName)

Return Value

Logical

Parameters

  • nChannelNumber
    Specifies the channel number to close.

  • cServiceName
    Specifies the service name to close.

Remarks

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.

See Also

Reference

DDEAbortTrans( ) Function

DDEAdvise( ) Function

DDEExecute( ) Function

DDEInitiate( ) Function

DDELastError( ) Function

DDEPoke( ) Function

DDERequest( ) Function

DDESetOption( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)