Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > DDE_POKE

 

 

Purpose

DDE_POKE sends data to an application.
 

Syntax

#status = DDE_POKE($service_name,$topic_name,{$dde_item_name,$dde_item_value})
 

Operation

#status contains the return status.
 0 = OK
-1 = too many parameters (maximum is 32 “$dde_item_name, “$dde_item_value" pairs.)
-2 = bad parameter type (all dde_item_name, $dde_item_value parameters must be in alpha.)


$service_name
 is the
DDE service name (alpha variable or literal).   Valid service names are defined by the application being communicated with.  Typically an application will support one service.

$topic_name
 is the DDE topic name (alpha variable or literal).  Valid topic names are defined by the application being communicated with.  An application may support several topics.

$dde_item_name
 is the DDE item whose value is being changed (alpha variable or literal).  Valid item names are defined by the application being communicated with.

$dde_item_value
 is the value to be set for the preceding $dde_item_name parameter (alpha, long alpha variable or literal).
 

Remarks

DDE_EXECUTE, DDE_REQUEST, DDE_POKE, and DDE_LAST_ERROR support links between the PROIV Windows Client and Windows applications.  Support is limited to the DDE Client.  Functionality is ignored in non-Windows mode.  
The $dde_item_name, $dde_item_value parameters may be repeated, if desired, to retrieve the value of several items in one call.  You may repeat up to 32 pairs.
 

Example

#STATUS = DDE_POKE(“PROGMAN",creategroup,{TESTGROUP, showgroup})
 

Comment on this topic

Topic ID: 520043

 
 
 

Table of Contents

Index

Glossary

-Search-

Back