home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1991 / 08 / dflat5 / readme.doc < prev    next >
Text File  |  1991-06-27  |  4KB  |  107 lines

  1.  
  2. D-Flat Version 5
  3.  
  4. The source files in the DFLAT archive constitute the D-Flat windowing
  5. system. Each month, I will replace this file to reflect the changes
  6. made for the column that is under way.  This file will probably be
  7. ahead of the published columns; it is late June now, and I am writing 
  8. the October column.
  9.  
  10. This version drops support for POWER C. I ran into too many 
  11. incompatiblities and bugs in the compiler, and it did not seem worth
  12. the time to keep it up.
  13.  
  14. To build the D-flat software, modify the makefile to use Microsoft,
  15. Turbo C 2.0, or Borland C++ 2.0.
  16.  
  17. The makefile adjusts for Microsoft C 6.0 or Turbo C version 2.0 or
  18. Borland C++ 2.0. 
  19.  
  20. Set the DRIVE macro in the makefile to the drive where your compiler
  21. is installed.
  22.  
  23. To build with the Turbo C 2.0 make utility, change the
  24. three lines in the makefile so that they look like this:
  25.  
  26.     MSC = 0
  27.     BORLAND_CPP = 0
  28.     TURBOC = 1
  29.  
  30. and type this command:
  31.  
  32.     C>make
  33.  
  34. To build with the Microsoft C nmake utility, make the first three
  35. lines of the makefile look like this:
  36.  
  37.     MSC = 1
  38.     BORLAND_CPP = 0
  39.     TURBOC = 0
  40.  
  41.  
  42. and type this command:
  43.  
  44.     C>nmake
  45.  
  46. To build with the Borland C++ 2.0 make utility, make the first three
  47. lines of the makefile look like this:
  48.  
  49.     MSC = 0
  50.     BORLAND_CPP = 1
  51.     TURBOC = 0
  52.  
  53. and type this command:
  54.  
  55.     C>make
  56.  
  57. The build makes a program named memopad.exe. It is a
  58. multiple-document notepad program. A second program, notepad.exe
  59. is a single-document editor with hardly any features. You can
  60. compile it with the small memory model and with the BUILD_FULL_DFLAT
  61. global commented out in the makefile to see the difference in
  62. memory requirements between it and the memopad program.
  63.  
  64. My CompuServe ID is 71101,1262. I monitor the DDJFORUM every day and
  65. prefer that you discuss D-Flat there so that every one can benefit
  66. from your comments.
  67.  
  68. Observe the #define VERSION statement in dflat.h. The version number
  69. should correspond with the n in the DFLATn.ARC filename that you
  70. downloaded. Check the uploads periodically to see if there is a more
  71. recent version available.
  72.  
  73. This is version 5. It includes these improvements:
  74.  
  75. 1. An overhaul of the Class system to make it easier to add classes
  76. and to improve performance. See Classes.h.
  77.  
  78. 2. A Search menu to let you search the text file for a string match
  79. and a status bar at the bottom of the application window.  
  80.  
  81. 3. Directory and file list boxes in the File Open and Save As dialog
  82. boxes are in sequence now. 
  83.  
  84. 4. Modeless dialog boxes work better in this version. The example
  85. programs do use them and will not until I have made more
  86. tests--probably version 6. 
  87.  
  88. 5. Drag menus. Click the menu bar item, drag the mouse to the
  89. selection, and release the mouse button to choose the selection.
  90.  
  91. 6. Compressed help files. It uses an adaptation of the Huffman
  92. compression programs from the C Programming Column of early 1991. If
  93. the program finds the compressed MEMOPAD.HLP, it loads it. Otherwise,
  94. it looks for MEMOPAD.TXT, the ASCII version of the file, and loads
  95. that file instead. When you execute the Reload Help command on the
  96. Help menu, the program loads the same way. To test changes to the
  97. help file that you make from the MEMOPAD program, delete the
  98. MEMOPAD.HLP file so that the reload command loads the MEMOPAD.TXT
  99. file. You can compress MEMOPAD.TXT into MEMOPAD.HLP later. The
  100. program starts faster without compressed help.
  101.  
  102. To compress the help file from the command line:
  103.  
  104.    huffc memopad.txt memopad.hlp
  105.  
  106.  
  107.