Programming Guide



sm_dde_execute

Sends a command to a DDE server

#include <smmwuser.h>
int sm_dde_execute(char *server, char *topic, char *command);

server
The server application's name—for example, WINWORD

topic
The server topic, typically the file name of the spreadsheet or document—for example, SALES.DOC

command
A command in the server application's syntax.

Environment

Windows

Returns

Description

sm_dde_execute sends a command from a Panther client to a server application. The server decides how to execute this command.

This function can succeed only if the server application is already running; otherwise Panther posts an error message.

See Also

sm_dde_poke