home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ctdemo.zip / readme.1st < prev   
Text File  |  1995-04-07  |  11KB  |  266 lines

  1.                         CTHROUGH - DEMO README
  2.                         ======================
  3.  
  4. Welcome to the CThrough demo version 1.2a !
  5.  
  6. This is *not* a small and fast demo. But if you are willing to spend
  7. some time, it should give you a good idea about what CThrough is and
  8. if it might be worthwhile for you.
  9.  
  10. This demo version does not expire, you might use it (for small projects)
  11. as long as you want. However, it is a restricted version that:
  12.  
  13.  - handles only class libraries with less than 30 classes
  14.  - stores only classes with less than 30 function members
  15.  - provides only support for creating and modifying classes,
  16.    building applications, exception handling and heap tracing
  17.  
  18. Even if all the configuration management tools, the DiskBrowser, the
  19. OutlineEditor, the class conversion tools and some other support tools
  20. are missing, there still remains a lot of things to discover. Besides
  21. the quantity restrictions, you can build and maintain real applications
  22. with this version.
  23.  
  24.  
  25.  
  26. 1. What's in the package
  27. ========================
  28.  
  29. This distribution should come with three subdirectories:
  30.  
  31. └─┬CTHRU
  32.   │    readme.1st     : this file
  33.   │    install.cmd    : the basic install procedure
  34.   │
  35.   ├─ SYSTEM
  36.   │    ctdsk          : disk label file used by install.exe
  37.   │    ctinst1.zip    : zip archive containing CThrough base system
  38.   │    install.exe    : CThrough install program (called by install.cmd)
  39.   │    readme.1st     : again, this file
  40.   │    unzip.exe      : the public unzip utility (see Copyright)
  41.   │
  42.   ├─ CLASSES
  43.   │    @clslib1.zip   : zip archive containing a sample class library
  44.   │    ctini.tmp      : CThrough init file for this class library
  45.   │    libdsk         : disk label file used by the ClassLib installer
  46.   │
  47.   └─ DOC
  48.        order.ps       : order form (Postscript format)
  49.        overview.ps    : 16 pg. technical brochure
  50.        tutorial.ps    : 220 pg. CThrough tutorial (Postscript)
  51.  
  52.  
  53.  
  54. 2. Prerequisites
  55. ================
  56.  
  57. Besides OS/2 2.1 - 3.0 you should have (at least) 8 MB of RAM, a high
  58. resolution graphics card / monitor (> 640x480) and about 10 MB of free
  59. disk space. In order to build applications, CThrough requires the
  60. IBM C/Set++ compiler to be installed.
  61.  
  62. CThrough can even be started if you don't have C/Set++ on your machine,
  63. In this case, you will get some warnings at startup time (telling you that
  64. entries in the CTPATH.INI configuration file are missing). These warnings
  65. can be ignored, CThrough usage will be restricted just to editing and
  66. analyzing classes.
  67.  
  68. If you are using the IBM CPPBETA, you should change the LINKER setting
  69. in the CTPATH.INI configuration file from LINK386.EXE to ILINK.EXE.
  70.  
  71.  
  72.  
  73. 3. Quick Install
  74. ================
  75.  
  76. The installation of CThrough actually is a 3 stage process
  77.  
  78. a.) switch to the root directory of the distribution:
  79.  
  80.         "CD \CTHRU"
  81.  
  82. b.) start the install procedure
  83.  
  84.         "INSTALL"
  85.  
  86. c.) when the root install dialog (labeled "Welcome to the CThrough...")
  87.     comes up, enter the *full* pathname (with drive) where you want to
  88.     install CThrough, e.g.
  89.  
  90.         "C:\CTHROUGH"
  91.  
  92.     Click on "Install CThrough" to start stage 1 which will create
  93.     the appropriate target directories and copies / unzips the required
  94.     files from the SYSTEM distribution directory. After unpacking all
  95.     required files, a desktop folder named "CThrough Demo" is created.
  96.  
  97. d.) The next stage will automatically start CThrough itself in order to
  98.     build the required configuration files. After some seconds, a dialog
  99.     labeled "CThrough IniBuilder" pops up. From within this dialog, you
  100.     have to perform the following steps:
  101.  
  102.     - click on "Scan" to start the disk scan process which will locate
  103.       several external programs (e.g. the compiler) which are needed by
  104.       CThrough. Depending on the size and speed of your harddisk, this
  105.       may take some time
  106.  
  107.     - specify a hostname for your computer which is used by CThrough
  108.       to identify your files. This name should not exceed 4 characters
  109.       and is stored in the environment variable CTHOST which should be
  110.       set in the CONFIG.SYS, e.g.
  111.  
  112.              "SET CTHOST=PCM"
  113.  
  114.       This is the *only* change of CONFIG.SYS which is required by
  115.       CThrough. If you - like me - don't like install programs to
  116.       silently mess up your CONFIG.SYS, you can make this change
  117.       manually prior to installing CThrough. It will be recognized
  118.       by the install process and the CONFIG.SYS will not be changed
  119.       at all. Otherwise CThrough can make this change for you if you
  120.       enter a name in the entry and click on the "Update" button.
  121.  
  122. e.) The last stage will install a sample class library from the
  123.     CLASSES distribution directory. Again, this is done by CThrough
  124.     itself with a dialog labeled "CThrough Class Library Installer".
  125.     You should *not* change the setting of the "Source" entry (which
  126.     should be initialized with the full pathname of the CLASSES
  127.     directory). However, you might want to change the directory name
  128.     where the library should be installed (e.g. "G:\CLS_LIB"). Again,
  129.     this has to be a full pathname. But it does not have to (and should
  130.     not) be a subdirectory of your CThrough base installation (specified
  131.     in stage 1.
  132.  
  133.     Simply click on "Install" to start creation of directories and
  134.     extraction of supplied files. When this stage is completed, you
  135.     should have an additional program entry (labeled with the directory
  136.     name you have chosen for the class lib) in the CThrough demo folder.
  137.  
  138.  
  139. Finally, reboot the machine to put the CTHOST setting into effect.
  140.  
  141. The files from the DOC subdirectory are not copied. Because of the
  142. file sizes, you should print the files directly from the DOC directory
  143. or just view them with generally available Postscript previewers like
  144. GhostScript. There are a lot of bitmaps in the tutorial and the brochure.
  145. You therefore should print them with at least 300 dpi (and a lot of
  146. time to spend). But having a look at the tutorial is *highly* recommended.
  147. Learning CThrough from the online reference might be somewhat painful.
  148.  
  149.  
  150.  
  151. 4. What to do next
  152. ==================
  153.  
  154. After successfully completing the installation, you should have a desktop
  155. folder named "CThrough Demo" with the following contents:
  156.  
  157.  "CThrough Demo"          : main CThrough folder
  158.  │
  159.  ├─ "XProcessor"          : program object to start the XProcessor tool
  160.  │
  161.  ├─ "CThrough Reference"  : program entry to view the online reference
  162.  │
  163.  ├─ "Configuration"       : subfolder with maintenance tools
  164.  │  ├─  "INI PathEditor"  : program entry for changing program paths
  165.  │  ├─  "INI FontEditor"  : program entry for changing font settings
  166.  │  ├─  "Lib Installer"   : program entry for installing new class libs
  167.  │  └─  "Lib Distributor" : program entry for creating class lib packages
  168.  │
  169.  └─ "x:\cls_lib"          : program entry to start CThrough on the
  170.                             class lib installed during step e. (The
  171.                             label will vary according to where you
  172.                             installed the class lib)
  173.  
  174.  
  175. Please refer to the online reference and the tutorial for meaning and
  176. usage of the "Configuration" subfolder items.
  177.  
  178. You should start with a doubleclick on the class lib object (e.g.
  179. "x:\cls_lib"). This will bring up CThrough showing the installed class
  180. library contents. Initially, there will be 2 windows: the Controller
  181. and the HierarchyViewer. A doubleclick on a classname in the left pane
  182. of the HierarchyViewer will bring up a ClassEditor on the selected class.
  183. With the popup menu, you can launch an AppsBuilder on the following
  184. example application classes:
  185.  
  186. XH_t1
  187.   Example of how to use the exception handling classes and tools that come
  188.   with CThrough. Make sure you start the XProcessor (from the CThrough Demo
  189.   Folder) prior to starting the application. After the application was
  190.   terminated, launch an XLogViewer to examine the saved exception log.
  191.  
  192. Heap_t2
  193.   Example to show the heap management / trace classes and tools that come
  194.   with CThrough. Compile/build with the AppsBuilder "heaptrace" option
  195.   enabled. Run with "App->Start Heaptrace" from the AppsBuilder menubar.
  196.  
  197. ICCLCTest
  198.   Example of how to use a mix of own template classes (TinyList) and the
  199.   IBM collection class lib. Look at the imports of ICCLCTest to see how
  200.   an external template is instanciated, Look at MyUniverse to see how this
  201.   is done for an own template class.
  202.  
  203. List_test
  204.   Small example from the tutorial demonstrating how to build applications
  205.   consisting of several classes
  206.  
  207. AHelloWindow
  208.   Ported IBM ICUI class example from \IBMCPP\SAMPLES\HELLO3. Shows how
  209.   to build applications which require additional files (*.ico, *.rc). Uses
  210.   implicit resource file compilation.
  211.  
  212. AHelloWindow5
  213.   Same as above for \IBMCPP\SAMPLES\HELLO5 (some more extra files, shows
  214.   explicit "post-build" procedure usage (*.cmd)
  215.  
  216.  
  217. To build an example, open the AppsBuilder on it, set the appropriate
  218. switches and click on the "Build" menubar item. Applications can be run
  219. from inside of the AppsBuilder by using the various "App" menubar items.
  220.  
  221. You can get online help on each pane by simply clicking on it and pressing
  222. the F1 key. If you need help for the whole window (e.g. the AppsBuilder),
  223. there is a "Window Help" item in the Help menu. For windows without menubars
  224. (like the AppsBuilder), the Help menu is accessible via the SystemMenu.
  225.  
  226. If you are using large header files or classes, you might want to uncomment
  227. and set the CLSHDR and SYSHDR settings in the CT.INI configuration file of
  228. your class library. File squeezing (which is done automatically) can speed
  229. up the compilation of large systems up to 30%. However, please refer to the
  230. CThrough reference prior to enabling class and header squeezing. You should
  231. also make sure that the corrected header files which are contained in the
  232. IBMHDR.ZIP archive in the HEADER subdir of your class library are unzipped
  233. and compatible with your compiler version.
  234.  
  235.  
  236. 5. Copyright
  237. ============
  238.  
  239. There are several programs in this distribution which are NOT part of
  240. CThrough. These programs are either under the GNU Copyleft (please refer
  241. to the included COPYING file for details) or in the public domain:
  242.  
  243. - UNZIP.EXE
  244. - VIEWHELP.EXE
  245. - GAWK.EXE      (which is only a dummy in the CThrough demo version)
  246.  
  247.  
  248. All of the listed programs can be downloaded from BBS or CompuServe.
  249.  
  250.  
  251. 6. How to order
  252. ===============
  253.  
  254. There is a file ORDER.PS in the DOC subdirectory which contains a
  255. fax order form. If you need additional information, please contact us:
  256.  
  257. BISS GmbH
  258. Chaukenweg 12
  259. D-26388 Wilhelmshaven, Germany
  260.  
  261. phone:        +49 4423 9289-20
  262. fax:          +49 4423 2360
  263. CompuServe:   100031,1733
  264.  
  265.