home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / notify / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  2.8 KB  |  78 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. Notify Sample
  15.  
  16.   DESCRIPTION:
  17.     The Notify sample demonstrates 
  18.     notifications.  An entryfield is displayed 
  19.     that will only accept characters between 'a' 
  20.     and 'z'.  If data is entered that does not 
  21.     match this criteria, a message warning is 
  22.     displayed.
  23.  
  24.   CONCEPT/FEATURE: 
  25.     Sample program for demonstrating
  26.     IObserver, INotificationEvent, and IEntryField. 
  27.  
  28.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  29.     From within the directory containing the sample, simply type:
  30.          NMAKE
  31.  
  32.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  33.     Refer to the standard Workframe BUILD instructions
  34.  
  35.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  36.     From within the directory containing the sample, simply type
  37.     the name of the executable:
  38.          NOTIFY
  39.  
  40.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  41.     Refer to the standard Workframe RUN instructions
  42.  
  43.   SPECIAL NOTES:
  44.     If the sample fails to execute or 
  45.     abnormally ends, you can get 
  46.     more information about the failure 
  47.     by turning on the ICLUI trace.  
  48.     This is done by setting the 
  49.     environment variable ICLUI_TRACE 
  50.     as follows: 
  51.  
  52.         set ICLUI_TRACE=ON
  53.         set ICLUI_TRACETO=STDERR
  54.     
  55.     ICLUI_TRACETO controls where
  56.     the trace information is reported. 
  57.     With tracing turned on, ICLUI 
  58.     exception text will be written to a 
  59.     standard error file. For example: 
  60.  
  61.         sample >sample.out 2>&1
  62.     
  63.     The exception data is now in the file 
  64.     'sample.out'.
  65.  
  66.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  67.     None
  68.  
  69.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  70.     A complete listing of samples shipped with the VisualAge for C++
  71.     product can be found in the online GUIDE TO SAMPLES.  To access
  72.     this notebook, simply:
  73.  
  74.     -  Open the VISUALAGE FOR C++ program group in the Program
  75.        Manager window, then
  76.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  77.  
  78.