home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello2 / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.3 KB  |  90 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. Hello World Sample 2
  15.  
  16.   DESCRIPTION:
  17.     The second version of Hello World replaces 
  18.     the trivial implementation of Hello1 with a
  19.     more common programming approach.  The 
  20.     frame window used in the main portion of 
  21.     the application is a subclass of 
  22.     IFrameWindow that has a static text 
  23.     control and a new status area at the 
  24.     bottom of the frame which is created using 
  25.     the IInfoArea class. The specification for 
  26.     this new frame window class is stored 
  27.     separately in a C++ file with an extension 
  28.     of .hpp.  Also, text strings are stored 
  29.     outside the application in a .rc resource 
  30.     file. 
  31.  
  32.     Visually, however, the Hello1 and Hello2
  33.     samples are identical except for the 
  34.     information area. 
  35.  
  36.   CONCEPT/FEATURE: 
  37.     Sample program for a simple graphical application
  38.     with information area.
  39.  
  40.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  41.     From within the directory containing the sample, simply type:
  42.          NMAKE
  43.  
  44.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  45.     Refer to the standard Workframe BUILD instructions
  46.  
  47.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  48.     From within the directory containing the sample, simply type
  49.     the name of the executable:
  50.          HELLO2
  51.  
  52.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  53.     Refer to the standard Workframe RUN instructions
  54.  
  55.   SPECIAL NOTES:
  56.     If the sample fails to execute or 
  57.     abnormally ends, you can get 
  58.     more information about the failure 
  59.     by turning on the ICLUI trace.  
  60.     This is done by setting the 
  61.     environment variable ICLUI_TRACE 
  62.     as follows: 
  63.  
  64.         set ICLUI_TRACE=ON
  65.         set ICLUI_TRACETO=STDERR
  66.     
  67.     ICLUI_TRACETO controls where
  68.     the trace information is reported. 
  69.     With tracing turned on, ICLUI 
  70.     exception text will be written to a 
  71.     standard error file. For example: 
  72.  
  73.         sample >sample.out 2>&1
  74.     
  75.     The exception data is now in the file 
  76.     'sample.out'.
  77.  
  78.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  79.     None
  80.  
  81.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  82.     A complete listing of samples shipped with the VisualAge for C++
  83.     product can be found in the online GUIDE TO SAMPLES.  To access
  84.     this notebook, simply:
  85.  
  86.     -  Open the VISUALAGE FOR C++ program group in the Program
  87.        Manager window, then
  88.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  89.  
  90.