home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / HELLO5 / README < prev   
Text File  |  1995-06-09  |  7KB  |  191 lines

  1. ***************************************************************************
  2. * HELLO WORLD SAMPLE PROGRAM - Version 5: Readme File readme              *
  3. *                                                                         *
  4. * COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1995.*
  5. *                                                                         *
  6. * DISCLAIMER OF WARRANTIES:                                               *
  7. *   The following [enclosed] code is sample code created by IBM           *
  8. *   Corporation.  This sample code is not part of any standard IBM product*
  9. *   and is provided to you solely for the purpose of assisting you in the *
  10. *   development of your applications.  The code is provided "AS IS",      *
  11. *   without warranty of any kind.  IBM shall not be liable for any damages*
  12. *   arising out of your use of the sample code, even if they have been    *
  13. *   advised of the possibility of such damages.                           *
  14. ***************************************************************************
  15.  
  16. Hello World
  17.  
  18.    These samples, which begin with hello1 and increase in complexity and
  19.    function up to hello6, progressively demonstrate many of the
  20.    capabilities of the User Interface Class Library.
  21.  
  22.    o   "Hello World 1"
  23.    o   "Hello World 2"
  24.    o   "Hello3"
  25.    o   "Hello4"
  26.    o   "Hello5"
  27.    o   "Hello World 6"
  28.  
  29. Hello5
  30.  
  31.    DESCRIPTION:
  32.  
  33.         Version 5 greatly increases the functionality of the sample by
  34.         adding a listbox and graphics window to the client area of the
  35.         main frame window. The listbox is used to display a "Hello World"
  36.         in different languages.  A select handler is used to update the
  37.         static text with whatever "Hello World" string is selected from
  38.         the listbox.  The graphics window uses native graphics calls to
  39.         display a view of the earth from space. The client area is
  40.         layed-out using ISplitCanvas objects to allow the user to specify
  41.         proportions for the sections.
  42.  
  43.         Hello5 also introduces the use of the IHelpWindow class for
  44.         providing context-specific application help.  The use of IPF
  45.         formatted information source files and resource file help tables
  46.         is also demonstrated.
  47.  
  48.  
  49.    PROJECT LOCATION:
  50.         Inside the IOC Samples folder (inside the VisualAge C++ Samples
  51.         folder). 
  52.  
  53.    SOURCE FILE LOCATION:
  54.         X:\ibmcpp\samples\ioc\hello5
  55.  
  56.         where X: is the drive you installed the samples and document
  57.         component of VisualAge C++.
  58.  
  59.    HOW TO RUN THE SAMPLE:
  60.  
  61.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  62.              To run the prebuilt project, open the Samples folder on your
  63.              OS/2 desktop then double-click on the project's icon to open
  64.              the project view of the sample.  Click on the RUN button of
  65.              the project's toolbar.
  66.  
  67.         FROM THE COMMAND LINE:
  68.              Simply type the name of the .EXE file, that is:
  69.  
  70.                  HELLO5
  71.  
  72.              If the sample fails to execute or abnormally ends, you can
  73.              get more information about the failure by turning on the
  74.              ICLUI trace.  This is done by setting the environment
  75.              variable ICLUI_TRACE as follows:
  76.  
  77.                    set ICLUI_TRACE=ON
  78.                    set ICLUI_TRACETO=STDERR
  79.  
  80.              The second export controls where the trace information is
  81.              reported.  With tracing turned on, ICLUI exception text will
  82.              be written to a standard error file. For example:
  83.  
  84.                    hello1 >hello1.out 2>&1
  85.  
  86.              The exception data is now in the file hello1.out.
  87.  
  88.    HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  89.  
  90.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  91.              Open the Samples folder on your OS/2 desktop then
  92.              double-click on the project's icon to open the project view
  93.              of the sample. In the upper half of the project window you
  94.              will see the icons of the files associated with the sample.
  95.              From the Project pulldown, select Build -> Rebuild All. To run
  96.              the sample project, see HOW TO RUN THE SAMPLE PROJECT above.
  97.  
  98.         FROM THE COMMAND LINE:
  99.            - A command file is provided to allow rebuilding of the
  100.              WorkFrame projects from the command line.  Simply type:
  101.  
  102.                  BUILD
  103.  
  104.              To run the sample project, see HOW TO RUN THE SAMPLE PROJECT 
  105.              above.
  106.  
  107.            - The sample application can also be built by entering:
  108.                  NMAKE
  109.              with no options while in the directory containing the
  110.              sample application files.  The makefile is named
  111.                  Makefile
  112.              To clean up the files generated from running make, enter:
  113.                  NMAKE CLEAN 
  114.              while in the directory containing the sample program files. 
  115.  
  116.  
  117.    SOFTWARE/HARDWARE PREREQUISITES:
  118.  
  119.         o   IBM VisualAge C++
  120.         o   OS/2 2.1 or Warp
  121.         o   IBM or compatible 386 and up.
  122.  
  123.    ADDITIONAL INFORMATION:
  124.  
  125.         o   For more information on the creation and use of projects in
  126.             the WorkFrame environment, see the VisualAge C++ for OS/2
  127.             User's Guide.
  128.         o   For more information on the User Interface Classes, see the
  129.             VisualAge C++ for OS/2 Open Class Library User's Guide.
  130.  
  131.         Both books can be found online.  To access an online book, simply
  132.         open the main VisualAge C++ desktop folder, then open the
  133.         Information Folder inside.  To view a book, double-click on that
  134.         book's icon.
  135.  
  136.  
  137.  
  138.    REQUIRED FILES - HELLO5
  139.  
  140.    README
  141.         description and instructions for sample
  142.  
  143.    BUILD.CMD
  144.         command file for building in project form from command line
  145.  
  146.    HELLO5.EXE
  147.         sample's executable
  148.  
  149.    HELLO5_H
  150.  
  151.    AHELLOW5.CPP
  152.         C++ Class header file for AHellowWindow source code
  153.  
  154.    AHELLOW5.HPP
  155.         Class header file for AHellowWindow 
  156.    AHELLOW5.H
  157.         Symbolic definition file
  158.  
  159.    AHELLOW5.ICO
  160.         icon file
  161.  
  162.    AHELLOW5.RC
  163.         resource file
  164.  
  165.    AHELLOW5_H
  166.  
  167.    AHELLOW5.IPF
  168.  
  169.    AHELLOW5.HLP
  170.         compiled help file
  171.  
  172.    AHELLOW5.IPF
  173.         tagged source code for hlp file
  174.  
  175.    AEARTHW5.CPP
  176.      Source code for AEarthWindow class 
  177.     
  178.    AEARTHW5.HPP
  179.      Class header file for AEarthWindow
  180.    
  181.    ADIALOG5.CPP
  182.      Source code for ATextDialog class     
  183.  
  184.    ADIALOG5.HPP
  185.      Class header file for ATextDialog 
  186.        
  187.    MAKEFILE
  188.       make file to build the sample program                  *
  189.  
  190.  
  191.