StopServerDDE PowerScript function
Description
Causes your application to stop acting as a DDE server application. Any subsequent
requests from a DDE client application fail.
Syntax
1 |
<span>StopServerDDE</span> ( { <span>windowname</span>, } <span>applname</span>, <span>topic</span> ) |
Argument |
Description |
---|---|
windowname (optional) |
The name of the server window. The default |
applname |
The DDE name for your PowerBuilder application. |
topic |
A string whose value is the topic you |
Return Values
Integer. Returns 1 if it succeeds. If
an error occurs, StopServerDDE returns -1, meaning
the DDE server was not started. If any argument’s value
is null, StopServerDDE returns null.

The arguments applname and topic must
match the arguments in a prior StartServerDDE call.
Examples
This statement causes the PowerBuilder application MyPBApp to
stop acting as a server:
1 |
<span>StopServerDDE</span>(w_emp, "MyPBApp", "System") |