Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DDEhExecute

  • Last UpdatedJul 18, 2023
  • 1 minute read

Executes a command in an external Windows application. You need to first start a conversation with the DDEhInitiate function, and use the handle returned by that function to identify the conversation.

With this function, you can control other applications that support DDE. Refer to the documentation provided with your other Windows application to determine if DDE is supported and what functions can be called.

This function is a blocking function. It will block the calling Cicode task until the operation is complete.

Syntax

DDEhExecute(Handle, sCommand)

Handle:

The integer handle that identifies the DDE conversation, returned from the DDEhInitiate function.

sCommand:

The command that the application will execute.

Return Value

0 (zero) if successful, otherwise an error code is returned.

DDEhInitiate, DDEhRequest, DDEhPoke, DDEhTerminate, DDEhGetLastError

Example

See DDEhInitiate.

See Also

Dynamic Data Exchange Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in