Titus Information Systems, Inc.

Standard Library
CDdeClient Class

This class is inherited from CDDE and provides easy access to Dynamic Data Exchange (DDE) client functions.  Note that, since most member functions and variables of the base class are static, there can be only one instance of this class in an application and the application will necessarily be an exclusively DDE client.  The member functions and variables are as follows:

CDdeClient::CDdeClient()
This is the constructor.  It initializes the data members.
BOOL CDdeClient::Open(CString Application, CString Module)
This public member function creates a DDE session with the specified Module of the specified Application.  The value of the function is TRUE if the session is successfully created.  If any of the API functions are unsuccessful, the value of the function is FALSE.
BOOL CDdeClient::Poke(CString Item, CString Text)
This public member function creates a DDE transaction that sends the string specified in Text to the Item of the presently open DDE session.  The value of the function is TRUE if the transaction successfully sent the string.  If any of the API functions are unsuccessful, the value of the function is FALSE.
BOOL CDdeClient::Close()
This public member function closes the DDE session.  The value of the function is TRUE if the session was successfully closed.  If any of the API functions are unsuccessful, the value of the function is FALSE.
HSZ CDdeClient::Item
This data member is available to inherited classes to store the string handle of the Item of the DDE transaction.
HSZ CDdeClient::Topic
This data member is available to inherited classes to store the string handle of the Topic of the DDE transaction.


[ CBinaryFile | TCommandLineInfo | CCommaFile | CDataFile | TDateCtrl | CDDE | CDdeServer ]
[ CDirectoryLocator | CDirectoryDialog | CDirectoryFind | CDirectoryNew | CFileCopy | TFrameWnd ]
[ InterfaceExcel | CMaintFn | CPrintFile | CProcDialog | TPrintDialog | CProcPropertyPage ]
[ CProgress | CRegistry | CSDisCreate | CSDisFile | CSDisPage | CSDisView | CTableFile ]
[ CTaskIcon | TPresent | TTime | TDate | TDateTime | CTransferData | TWinApp | CXlTable ]

[ Stand-alone Programs | Standard Library | Conversion Functions | Utility Functions | COBOL Functions ]
[ Windows NT Library | COBOL Library | COBOL Interface | Command Prompt Abbreviations | Purchase Instructions ]

[ Home | Areas of Expertise | "We Do Windows" | Clients and Projects | Software Samples | Package Software Available ]
[ Contact Information | Business Software Philosophy | Church Software Philosophy ]
All contents of this web site are Copyright © Titus Information Systems, Inc., Phoenix, Arizona, U.S.A.