DDEExecute

DDEExecute executes a DDE command.

Syntax

Important: This feature is deprecated, its use is discouraged although not prohibited.
CALL ui.Interface.frontCall("WINDDE","DDEExecute",
  [ program, document, command, encoding ], [result] )
  • program is the name of the DDE application.
  • document is the document that is to be used.
  • command is the command that needs to be executed.
  • encoding is an optional parameter. It allows you to force the encoding to use between ASCII and wide char/unicode. When not specified, WinDDE will try to retrieve the correct encoding itself. Possible values are: "UNICODE", "ASCII"
  • Refer to the program documentation to know the syntax of command.
  • result is an integer variable receiving the status.
  • result is TRUE if the function succeeded, FALSE otherwise.
  • If the function fails, use DDEError to get the description of the error.

Warnings

  • The DDE connection must be opened. See DDEConnect.