Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement > Dynamic Data Exchange > Using Vensim as a DDE Client

int VEFCC vdde_execute(int dde_channel,char *ddecommand) ;

Scroll Prev Top Next More

dde_channel - as returned from vdde_initiate.

ddecommand - the command you want to execute.

return value - 0 on failure 1 on success

The vdde_execute command sends a command to the server.  The format for these commands is normally the same as the form of a command or macro string for the server enclosed in square brackets.  You can send several commands by putting in a \n\r sequence between the commands.  Arguments to commands containing commas, parens or quotes should be enclosed in double quotes.  Refer to the documentation for your server for more information.