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

  1. *************************************************************************
  2. * Bigcpp Sample Program - Readme file                                          *
  3. *                                                                              *
  4. * COPYRIGHT:                                                                   *
  5. *   IBM Open Class Library                                                     *
  6. *   (C) Copyright International Business Machines Corporation 1992, 1995   
  7. *   Licensed Material - Program-Property of IBM - All Rights Reserved. 
  8. *   US Government Users Restricted Rights - Use, duplication, or disclosure
  9. *   restricted by GSA ADP Schedule Contract with IBM Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES:                                                    *
  12. *   The following [enclosed] code is sample code created by IBM   
  13. *   Corporation.  This sample code is not part of any standard IBM product
  14. *   and is provided to you solely for the purpose of assisting you in the
  15. *   development of your applications.  The code is provided "AS IS",
  16. *   without warranty of any kind.  IBM shall not be liable for any damages 
  17. *   arising out of your use of the sample code, even if they have been
  18. *   advised of the possibility of such damages. 
  19. *------------------------------------------------------------------------
  20.  
  21. BIGCPP
  22.  
  23.    DESCRIPTION:
  24.  
  25.         The BIGCPP Sample illustrates two concepts. The first is the
  26.         ability to combine two graphic objects into a single aggregate
  27.         graphic object.  The second demonstrates using your native
  28.         operating system graphic functions to create a library graphic
  29.         object.  This new library graphic object can now use any of the
  30.         library graphic functions such as transformation and hit testing
  31.         functions.  Classes used include IGraphicContext, IGList,
  32.         IGraphicBundle, ITransformMatrix, IPointArray, IDrawingCanvas,
  33.         IGraphic, IGPolyline, IResizeHandler, and your native operating
  34.         system graphic functions.
  35.  
  36.    CONCEPT/FEATURE:
  37.          Sample program for demonstrating BIGCPP
  38.  
  39.    PROJECT LOCATION:
  40.         Inside the IOC Samples folder (which is inside the VisualAge C++
  41.         Samples folder).
  42.  
  43.    SOURCE FILE LOCATION:
  44.         X:\ibmcpp\samples\ioc\bigcpp
  45.  
  46.         where X: is the drive on which you installed the samples and 
  47.         document component of VisualAge C++.
  48.  
  49.    HOW TO RUN THE SAMPLE:
  50.  
  51.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  52.              To run the prebuilt project, open the Samples folder on your
  53.              OS/2 desktop then double-click on the project's icon to open
  54.              the project view of the sample.  Click on the RUN button of
  55.              the project's toolbar.
  56.  
  57.         FROM THE COMMAND LINE:
  58.              Simply type the name of the .EXE file, that is:
  59.  
  60.                  BIGCPP
  61.  
  62.              If the sample fails to execute or ends abnormally, you can
  63.              get more information about the failure by turning on the
  64.              ICLUI trace.  This is done by setting the environment
  65.              variable ICLUI_TRACE as follows:
  66.  
  67.                    set ICLUI_TRACE=ON
  68.                    set ICLUI_TRACETO=STDERR
  69.  
  70.              The second export controls where the trace information is
  71.              reported.  With tracing turned on, ICLUI exception text will
  72.              be written to a standard error file. For example:
  73.  
  74.                    hello1 >hello1.out 2>&1
  75.  
  76.              The exception data is now in the file hello1.out.
  77.  
  78.    HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  79.  
  80.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  81.              Open the Samples folder on your OS/2 desktop then
  82.              double-click on the project's icon to open the project view
  83.              of the sample. In the upper half of the project window you
  84.              will see the icons of the files associated with the sample.
  85.              From the Project pulldown, select Build -> Rebuild All.  To run
  86.              the sample project, see HOW TO RUN THE SAMPLE PROJECT above.
  87.  
  88.         FROM THE COMMAND LINE:
  89.            - A command file is provided to allow rebuilding of the
  90.              WorkFrame projects from the command line.  Simply type:
  91.  
  92.                  BUILD
  93.  
  94.              To run the sample project, see HOW TO RUN THE SAMPLE PROJECT 
  95.              above.
  96.  
  97.            - The sample application can also be built by entering:
  98.                  NMAKE
  99.              with no options while in the directory containing the
  100.              sample application files.  The makefile is named
  101.                  Makefile
  102.              To clean up the files generated from running make, enter:
  103.                  NMAKE CLEAN 
  104.              while in the directory containing the sample program files. 
  105.  
  106.     SOFTWARE/HARDWARE PREREQUISITES:
  107.  
  108.         o   IBM VisualAge C++
  109.         o   OS/2 2.1 or Warp
  110.         o   IBM or compatible 386 and up.
  111.  
  112.    ADDITIONAL INFORMATION:
  113.  
  114.         o   For more information on the creation and use of projects in
  115.             the WorkFrame environment, see the VisualAge C++ for OS/2
  116.             User's Guide.
  117.         o   For more information on the User Interface Classes, see the
  118.             VisualAge C++ for OS/2 Open Class Library User's Guide.
  119.  
  120.         Both books can be found online.  To access an online book, simply
  121.         open the main VisualAge C++ desktop folder, then open the
  122.         Information Folder inside.  To view a book, double-click on that
  123.         book's icon.
  124.  
  125.  
  126.    REQUIRED FILES:
  127.  
  128.       README
  129.         description and instructions for sample
  130.  
  131.       BUILD.CMD
  132.         command file to build project from OS/2 command line
  133.  
  134.       BIGCPP.EXE
  135.         sample's executable
  136.  
  137.       BIGCPP.HPP
  138.         class definition for BIGCPP
  139.  
  140.       BIGCPP.CPP
  141.         source code for BIGCPP
  142.  
  143.       MAKEFILE
  144.         make file to build the sample program on OS/2
  145.  
  146.  
  147.