home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / dde / readme.txt
Encoding:
Text File  |  1996-02-22  |  3.6 KB  |  97 lines

  1. **********************************************************************
  2. * DISCLAIMER OF WARRANTIES:                                          *
  3. *                                                                    *
  4. * The following enclosed code is sample code created by IBM          *
  5. * Corporation.  This sample code is not part of any standard IBM     *
  6. * product and is provided to you solely for the purpose of assisting *
  7. * you in the development of your applications.  The code is provided *
  8. * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9. * for any damages arising out of your use of the sample code, even   *
  10. * if they have been advised of the possibility of such damages       *
  11. *                                                                    *
  12. **********************************************************************
  13.  
  14. DDE Client Sample
  15. DDE Server Sample
  16.  
  17.   DESCRIPTION:
  18.     The DDE Sample contains two applications.
  19.     They are the DDE Client and DDE Server.
  20.     Each is located in a subdirectory.
  21.     These two applications start DDE
  22.     conversations with each other and can
  23.     perform data requests to the other
  24.     application.  In addition they can be
  25.     hotlinked together for automatic data
  26.     requests. Classes used include
  27.     IDDEClientConversation,
  28.     IDDEClientAcknowledge, IDDEClientEndEvent,
  29.     IDDEClientHotLinkEvent,
  30.     IDDEClientHotLinkSet, IDDEBeginEvent,
  31.     IDDEEndEvent, IDDETopicServer,
  32.     IDDERequestDataEvent, IDDEServerHotLinkEvent,
  33.     and IDDEAcknowledgeEvent.
  34.  
  35.   CONCEPT/FEATURE:
  36.     Sample program for demonstrating interprocess
  37.     communications using Dynamic Data Exchange (DDE).
  38.  
  39.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  40.     From within the directory containing the sample, simply type:
  41.          NMAKE
  42.  
  43.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  44.     Refer to the standard Workframe BUILD instructions
  45.  
  46.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  47.     From within the directory containing the sample, simply type
  48.     the name of the executable:
  49.          DDECLNT
  50.     and
  51.          DDESERV
  52.  
  53.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  54.     Refer to the standard Workframe RUN instructions
  55.  
  56.   SPECIAL NOTES:
  57.     If the sample fails to execute or
  58.     abnormally ends, you can get
  59.     more information about the failure
  60.     by turning on the ICLUI trace.
  61.     This is done by setting the
  62.     environment variable ICLUI_TRACE
  63.     as follows:
  64.  
  65.         set ICLUI_TRACE=ON
  66.         set ICLUI_TRACETO=STDERR
  67.  
  68.     ICLUI_TRACETO controls where
  69.     the trace information is reported.
  70.     With tracing turned on, ICLUI
  71.     exception text will be written to a
  72.     standard error file. For example:
  73.  
  74.         sample >sample.out 2>&1
  75.  
  76.     The exception data is now in the file
  77.     'sample.out'.
  78.  
  79.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  80.     Dynamic Data Exchange restrictions for Win32s :
  81.       The following functions are not supported for DDE on Win32s platforms :
  82.       - IDDEClientConversation :: beginHotLink()
  83.       - IDDEClientConversation :: endHotLink()
  84.       - IDDETopicServer :: hotLinkUpdate()
  85.       You can use these member functions to establish a DDE Hot Link but
  86.       subsequent data requests and hot link updates may be corrupted.
  87.  
  88.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  89.     A complete listing of samples shipped with the VisualAge for C++
  90.     product can be found in the online GUIDE TO SAMPLES.  To access
  91.     this notebook, simply:
  92.  
  93.     -  Open the VISUALAGE FOR C++ program group in the Program
  94.        Manager window, then
  95.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  96.  
  97.