Progress
External Program
Interfaces
The Course Of a DDE Conversation
All DDE conversations follow a pattern of execution that varies somewhat with the application. In general, to open and manage a DDE conversation, your application must complete the following tasks.
NOTE: A DDE frame cannot be a dialog box (no VIEW-AS DIALOG-BOX option).- Select a named frame to use as a conversation endpoint (DDE frame). DDE attributes of this frame maintain the status of each conversation you open with it.
- Ensure that the DDE server application is running in your Windows environment and that the DDE frame for your application is realized.
- Open the conversation to the server application, specifying the DDE frame, application, and topic names. A topic is a category defined by the server that includes specific data items or commands that the client can access.
- If you want to, send commands to the DDE server that define additional topics or otherwise prepare the server to open DDE conversations. (You typically open an initial conversation for the System topic to execute these commands.)
- Send and receive data values between your Progress client and DDE server using the data items associated with your topic of conversation. You can converse with server data items on demand, or set up links that let your Progress application automatically receive the data when server data items change value.
- To close a conversation, remove any links established to associated data items and terminate the conversation.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |