Preparing the server application
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Preparing the server application
Before opening a DDE conversation from the client, you
must ensure that the server application is open on the Windows desktop,
and that any server preparations required to make application topics
available to the OpenEdge client are complete. The OpenEdge client
can open the server application by either by invoking the ABL OS-COMMAND NO-WAIT statement
or by executing the WinExec() program load function
from the Window's kernel dynamic link library (DLL), kernel32.dll.
The program load function provides additional features that include
specifying the startup window state and returning a value that indicates
whether the application actually started.
For example, the code fragment in i-ddeex2.p defines the
interface to WinExec(), and uses it to load Microsoft Notepad.
i-ddeex2.p
|
|
Depending on the application, the client might then open an initial conversation for the System topic and execute server commands to initialize additional topics.