home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / Chip_1998-03_cd.bin / zkuste / delphi / komprese / zip / DELZIP12.ZIP / DOC.ZIP / CBUILDER.TXT < prev    next >
Text File  |  1997-09-28  |  3KB  |  87 lines

  1.  
  2.             Notes Regarding C++ Builder 
  3.  
  4. This is a summary of some C++ Builder v1.xx problems 
  5. and work-arounds.  Thanks to Alan Hendricks for his 
  6. help on compiling this list.
  7.  
  8. 1. Before installing the ZipMaster VCLs, make sure
  9.    your compiler settings are OK.  I recommend that
  10.    you use the settings at the end of this file.
  11.    Also, make sure that the \ZIP\VCL subdir is added
  12.    to your VCL search path.
  13.       After configuring the IDE options, exit from it
  14.    and restart it (to ensure that the new options are
  15.    put into effect).
  16.  
  17. 2. On WinNT, the Borland integrated debugger (in
  18.    both Delphi and C++ Builder) will sometimes act as
  19.    though it hit a breakpoint in the DLL.  You may see
  20.    an error regarding the RTL freeHeap.  This is only
  21.    a problem when debugging - it does not pose a
  22.    problem if run outside of the debugger.
  23.  
  24. 3. For some odd reason, the Borland-generated *.cpp
  25.    files will show a specific path to the Zip DLLs, even
  26.    though my code never specifies a specific path.  For
  27.    example:
  28.  
  29.         USEFILE("\WINDOWS\SYSTEM\Zipdll.dll");
  30.         USEFILE("\WINDOWS\SYSTEM\Unzdll.dll");
  31.  
  32.    Even though the paths are specified in this manner,
  33.    they are apparently ignored.  Some people do not
  34.    have a \WINDOWS\SYSTEM directory, but there is still
  35.    no problem locating the DLLs (which can be in the
  36.    project directory or the real system dir).
  37.  
  38.    Just ignore the paths that you see for the DLLs
  39.    in any of the code generated by C++ Builder.
  40.  
  41. 4. I have noticed some instability in the code that
  42.    builds the VCL library for version 1 of CBuilder.
  43.    This is a manageable problem as long as you are
  44.    aware of it.
  45.  
  46.    You must always keep a good copy of your component
  47.    library on a floppy disk (or another hard disk
  48.    directory) for safe keeping.  Sometimes, problems
  49.    during the build of the VCL library can cause it
  50.    to be corrupted, which then prevents CBuilder from 
  51.    even starting.
  52.  
  53.    The Component Library file is named "CMPLIB32.CCL"
  54.    and it is in the "bin" subdirectory under the main
  55.    CBuilder directory.
  56.   
  57.    If the component library becomes corrupted, restore
  58.    your good copy of "CMPLIB32.CCL", and delete these
  59.    temporary files in that directory: CMPLIB32.I* and
  60.    CMPLIB32.TDS.  Now, go back into CBuilder and
  61.    fix the problem that caused the library to become
  62.    corrupted.
  63.        
  64.  
  65. ==================================================
  66. Recommended Configuration Settings in C++ Builder 
  67. to compile Delphi VCLs.  This is general advice
  68. and NOT a requirement.
  69.  
  70.  
  71. Under Options:
  72.    Environment:
  73.       Preferences:
  74.          Compiling:
  75.             Cache hdrs on startup = unchecked(off). 
  76.          Library:
  77.             Show Hints = Off
  78.             Show Warnings = Off
  79.             Build with debug info = Off
  80.             Link with debug VCL = Off
  81.  
  82. Under Options:
  83.    Project:
  84.       Linker:
  85.          Link debug version of VCL = Off
  86.          Use dynamic RTL = Off
  87.