DDEExecute

DDEExecute executes a DDE command.

Syntax

Important: This feature is deprecated, and may be removed in a future version.
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 to force the encoding to use between ASCII and wide char/unicode. When not specified, WinDDE will try to retrieve the correct encoding by 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.