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

  1. ***************************************************************************
  2. * MLE SAMPLE PROGRAM: 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. MULTI-LINE EDIT
  17.  
  18.    DESCRIPTION:
  19.  
  20.         The Multi-Line Entry Field Sample is a simple editor.  This
  21.         editor opens existing files via the file dialog, saves data to a
  22.         file via the file dialog, and changes fonts via the font dialog.
  23.         It also performs cut, copy, and paste functions to the clipboard.
  24.         Classes used include IMultiLineEdit, IFileDialog, and
  25.         IFontDialog.
  26.  
  27.    PROJECT LOCATION:
  28.         Inside the IOC Samples folder (inside the VisualAge C++ Samples
  29.         folder). 
  30.  
  31.    SOURCE FILE LOCATION:
  32.         X:\ibmcpp\samples\ioc\mle
  33.  
  34.         where X: is the drive you installed the samples and document
  35.         component of VisualAge C++.
  36.  
  37.    HOW TO RUN THE SAMPLE:
  38.  
  39.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  40.              To run the prebuilt project, open the Samples folder on your
  41.              OS/2 desktop then double-click on the project's icon to open
  42.              the project view of the sample.  Click on the RUN button of
  43.              the project's toolbar.
  44.  
  45.         FROM THE COMMAND LINE:
  46.              Simply type the name of the .EXE file, that is:
  47.  
  48.                  MLE
  49.  
  50.              If the sample fails to execute or abnormally ends, you can
  51.              get more information about the failure by turning on the
  52.              ICLUI trace.  This is done by setting the environment
  53.              variable ICLUI_TRACE as follows:
  54.  
  55.                    set ICLUI_TRACE=ON
  56.                    set ICLUI_TRACETO=STDERR
  57.  
  58.              The second export controls where the trace information is
  59.              reported.  With tracing turned on, ICLUI exception text will
  60.              be written to a standard error file. For example:
  61.  
  62.                    hello1 >hello1.out 2>&1
  63.  
  64.              The exception data is now in the file hello1.out.
  65.  
  66.    HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
  67.  
  68.         FROM WITHIN THE WORKFRAME ENVIRONMENT:
  69.              Open the Samples folder on your OS/2 desktop then
  70.              double-click on the project's icon to open the project view
  71.              of the sample. In the upper half of the project window you
  72.              will see the icons of the files associated with the sample.
  73.              From the Project pulldown, select Build -> Rebuild All. To run
  74.              the sample project, see HOW TO RUN THE SAMPLE PROJECT above.
  75.  
  76.         FROM THE COMMAND LINE:
  77.            - A command file is provided to allow rebuilding of the
  78.              WorkFrame projects from the command line.  Simply type:
  79.  
  80.                  BUILD
  81.  
  82.              To run the sample project, see HOW TO RUN THE SAMPLE PROJECT 
  83.              above.
  84.  
  85.            - The sample application can also be built by entering:
  86.                  NMAKE
  87.              with no options while in the directory containing the
  88.              sample application files.  The makefile is named
  89.                  Makefile
  90.              To clean up the files generated from running make, enter:
  91.                  NMAKE CLEAN 
  92.              while in the directory containing the sample program files. 
  93.  
  94.    SOFTWARE/HARDWARE PREREQUISITES:
  95.  
  96.         o   IBM VisualAge C++
  97.         o   OS/2 2.1 or Warp
  98.         o   IBM or compatible 386 and up.
  99.  
  100.    ADDITIONAL INFORMATION:
  101.  
  102.         o   For more information on the creation and use of projects in
  103.             the WorkFrame environment, see the VisualAge C++ for OS/2
  104.             User's Guide.
  105.         o   For more information on the User Interface Classes, see the
  106.             VisualAge C++ for OS/2 Open Class Library User's Guide.
  107.  
  108.         Both books can be found online.  To access an online book, simply
  109.         open the main VisualAge C++ desktop folder, then open the
  110.         Information Folder inside.  To view a book, double-click on that
  111.         book's icon.
  112.  
  113.  REQUIRED FILES - MLE:                                                              
  114.    README       - Readme file for MLE                                    
  115.    amle.cpp     - C++ Source code for MLE                                
  116.    amle.hpp     - C++ Header file for MLE                                
  117.    auwmhdr.cpp  - C++ Source code for User Message Handler               
  118.    auwmhdr.cpp  - C++ Header file code for User Message Handler          
  119.    amle.h       - C Header file for MLE                                  
  120.    amle.rc      - Resource file for MLE                                  
  121.    amle.ico     - OS/2 icon file                                         
  122.    Makefile     - Make file to build the sample program                  
  123.