home *** CD-ROM | disk | FTP | other *** search
- ======================================================================
- Last Minute News on Abbrevia 1.06
- ======================================================================
-
- 100. Delphi 3, Delphi 4, and C++Builder 3 Package Notes
- 200. Installing for Both C++Builder 1.0 and C++Builder 3.0
- 300. Component Installation in C++Builder 1.0
- 400. Help Installation
- 500. Running the Examples Under Delphi 1
- 600. Changes/Additions
- 700. Known Problems
- 999. Corrections to the Manual
-
- 100. Delphi 3 and C++Builder 3 Package Notes
- ======================================================================
-
- 101. Package naming
- -------------------
- To avoid version conflicts with applications using different versions of the
- Abbrevia packages, each new version of Abbrevia will come with packages using
- slightly different names. See DEPLOY.TXT for package naming conventions used
- by TurboPower.
-
- 102. Installation
- -----------------
- Abbrevia help and the design-time package are automatically installed into
- Delphi 3, Delphi 4, and BCB 3 if Abbrevia is installed using the setup program.
- If you are upgrading by using a patch, you will need to use the "Install
- Packages" menu option to install the Abbrevia design-time package
- (B###_D##.DPL). In order for the run-time package (B###_R##.DPL) to be
- "seen" by the IDE (and by the design-time package) you need to copy it to
- the Windows system directory (\System for Win95 or \System32 for NT) or add
- the Abbrevia directory to your system path.
-
- 103. Delphi 3 and Delphi 4
- --------------------------
- Be sure to alter Delphi's library path so that it includes the path to the
- Abbrevia source files (Tools|Environment Options - Library Page) so that
- Delphi can find the Abbrevia source files. Or, add the Abbrevia path to
- your system Path environment.
-
- 104. C++Builder 3.0
- -------------------
- Abbrevia is compatible with BCB. Although the printed manual is
- Delphi-specific, we have provided C++ examples and a BCB help file
- for C++Builder users. If you choose to install the BCB help file and
- examples then you will find the help file in the ABBREVIA\HELP\CBUILDER
- directory and the examples in ABBREVIA\EXAMPLES\CBUILDER (BCB 1.0) or in
- ABBREVIA\EXAMPLES\CBUILDR3 (BCB 3.0).
-
- To insure that all projects built with Abbrevia will compile and link cleanly
- you need to add the Abbrevia path to your default Library and Include paths.
- You can do this through the Directories/Conditionals page of the Project
- Options dialog. Simply add your Abbrevia path to those already listed. Be
- sure to separate all paths with a semi-colon. For example, your Include path
- might look like this:
-
- C:\abbrevia;$(BCB)\include;$(BCB)\include\vcl
-
- Once you have modified the Include and Library paths you should check the
- "Default" check box at the bottom of the Project Options dialog. When you
- click OK the new path settings will be saved as the default for any new
- projects. (If you open the Project Options dialog without a project open
- then the Default check box does not appear since you are writing directly
- to the default project.)
-
- The installation program copies the following files to your CBuilder3
- and/or Windows directories:
-
- \CBuilder3\Lib
-
- B106_R35.LIB
- B106_R35.BPI
-
- \Windows\System (or Winnt\System32)
-
- B106_R35.BPL
-
- NOTE: The Abbrevia library files (LIB and BPI) don't have to be in the
- CBuilder3\Lib directory. You can move them to any location you want as
- long as you update the C++Builder Library paths accordingly.
-
-
- 200. Installing for Both C++Builder 1.0 and C++Builder 3.0
- ======================================================================
- If you install the C++Builder 3 packages, then header files for Abbrevia
- will be installed as well. If you plan to use Abbrevia with BCB 1 then you
- should copy the Abbrevia source files to a separate directory before
- adding them to the C++Builder 1 component palette. C++Builder 1 will create
- new headers when you install Abbrevia to the component palette, overwriting
- any existing headers. In either case you can create new headers by compiling
- AbReg.pas from the command line as follows:
-
- <BCBRootDir>\BIN\DCC32 -jphn abreg.pas
-
- Be sure that you specify the directory where C++Builder 1 resides if you
- are building the headers for use in C++Builder 1, and the C++Builder 3
- directory if you are building the headers for use in C++Builder 3.
-
-
- 300. Component Installation in C++Builder 1.0
- ======================================================================
- The installation process under BCB 1.0 is the same as it is for Delphi 2.0.
- You can refer to the manual for steps to install under Delphi 2.0 or you can
- perform the following steps:
-
- 1. Choose Component | Install from the BCB main menu.
-
- 2. Click on the Add button and then the Browse button.
-
- 3. Navigate to the directory where you have installed Abbrevia.
-
- 4. Locate the ABREG.PAS file and click the Open button.
-
- 5. Click the OK Button to rebuild the component library.
-
-
- 400. Help Installation
- ======================================================================
- The Abbrevia installation program should automatically install Abbrevia help
- so that it is accessible from within the IDE. In the event you need to
- manually install Abbrevia help you can perform the following.
-
- 401. Delphi 3 and Delphi 4
- ------------------------------
- To manually install the Abbrevia help into Delphi 3 and 4, perform the
- following steps:
-
- Edit the Delphi3.cnt (or Delphi4.cnt) file (in the Delphi Help directory)
- and add the following line to the "index" section:
-
- :Index Abbrevia Reference =abbrevia.hlp
-
- The first time you attempt to access Abbrevia help, Delphi/Windows won't be
- able to locate the help file and will ask if you want to find the file
- yourself. Answer yes to this question and browse for the Abbrevia help file
- (ABBREVIA.HLP), which should be in the Abbrevia directory. This step will only
- be required the first time you access Abbrevia's help.
-
- 402. C++Builder 3.0
- -------------------
- Run C++Builder's OpenHelp utility found in the CBuilder3\Bin directory (do
- NOT run OpenHelp from BCB 1.0 if you had BCB 1.0 installed previously).
- Perform these steps:
-
- 1. Open the CBuilder\Help\BCB.OHP project.
-
- 2. Click on the Index tab.
-
- 3. Click on the Add to Project button.
-
- 4. Locate the Abbrevia help file (ABBRBCB.HLP) and click Open.
-
- 5. Save the project and close OpenHelp.
-
- Abbrevia help will now be accessible from the C++Builder IDE. Note that
- under Windows NT you must have Administrator rights on your machine to
- install the integrated help.
-
- 403. Installing Integrated Help in C++Builder 1.0
- -------------------------------------------------
- If you chose the option to install the C++Builder help files then the
- install program copies the Abbrevia help and contents files to the
- \ABBREVIA\HELP\CBUILDER directory.
-
- To install the integrated help files you must run the OpenHelp utility that
- comes with C++Builder. You can run OpenHelp from the C++Builder folder or
- find it in \PROGRAM FILES\COMMON FILES\BORLAND\OPENHELP. The C++Builder
- installation program automatically adds this directory to the drive where
- Windows is installed (this might not be the drive where you installed
- C++Builder). To install the Abbrevia help files in BCB follow these steps:
-
- 1. Run OPENHELP.EXE. The available help files are shown in a list box at the
- bottom left. Click on the Add button below the list box.
-
- 2. The File Open dialog is displayed. Navigate to the directory where you
- have Abbrevia help installed. Select the ABBRVBCB.HLP file and click OK.
-
- 3. ABBRVBCB.HLP is added to the list of available help files. Click on
- ABBRVBCB.HLP in the list box and then click the '>' button. This adds the
- Abbrevia help file to the 'Selected Help Files' list box on the right
- side of the window. Due to a bug in OpenHelp, you might have to click the
- '>' button twice. Be sure that ABBRVBCB.HLP shows up in the 'Selected Help
- Files' list box before continuing.
-
- 4. Click Apply and then click OK to close OpenHelp. You must click on Apply
- first and then OK, due to a bug in OpenHelp.
-
- NOTE: Due to bugs in OpenHelp you may not be able to successfully install
- Abbrevia help in C++Builder 1.0.
-
-
- 500. Running the Examples Under Delphi 1
- ======================================================================
- When running or saving the example programs in Delphi 1, ignore the
- "Method XXX has an incompatible parameter list" error that Delphi 1.0
- displays by selecting the "NO" button.
-
- This error is generated because of a bug in Delphi's handling of the
- $IFDEF's within the NeedPassword event handler declaration. If you do
- not use IFDEF's within a form's declaration in your own applications,
- this should not be an issue.
-
-
- 600. Changes/Additions
- ======================================================================
- See Ab.101 for changes from Abbrevia 1.00 to 1.01.
- See Ab.102 for changes from Abbrevia 1.01 to 1.02.
- See Ab.103 for changes from Abbrevia 1.02 to 1.03.
- See Ab.104 for changes from Abbrevia 1.03 to 1.04.
- See Ab.105 for changes from Abbrevia 1.04 to 1.05.
- See Ab.106 for changes from Abbrevia 1.05 to 1.06.
-
-
- 700. Known Problems
- ======================================================================
-
- Installing several component libraries into Delphi 2.0 may result in a
- stack overflow during the link phase. We have been able to successfully
- build the component library by pulling out just about any other
- component registration unit. That makes it sound like some limit within
- Delphi 2.0 is being exceeded.
-
- We also found that the command line compiler doesn't, for the moment,
- exhibit this problem. To use this approach, you would need to manually
- add the Abbrevia registration units (and such) to the CMPLIB32.DPR file
- manually, as shown below. Compile with "DCC32 CMPLIB32", then rename
- CMPLIB32.DLL to CMPLIB32.DCL.
-
- CMPLIB32.DPR:
-
- uses
- ...
- SampReg,
- abreg,
- LibMain;
- ...
- {$R 'c:\Delphi2\Lib\SampReg.dcr'}
- {$R 'c:\abbrevia\abreg.dcr'}
- ...
- RegisterModule('SampReg', SampReg.Register);
- RegisterModule('abreg', abreg.Register);
-
-
- Note: You can have Delphi save the default COMPLIB32.DPR after a rebuild
- of the component library by selecting the "Save library source code"
- option from the Library tab of the Environment Options dialog.
-
-
- 999. Corrections to the Manual
- ======================================================================
-
- p. 50-51,99-100 TAbArchiveItemFailureEvent definition has been changed - the
- ProcessType parameter is no longer a const parameter.
-
-
- pp. 116-119 Low level class documentation is provided in the help file.
- An example of the use of low level classes is provided
- in the UsingApi example.
-
- TAbZipItem.FileComment is documented in the help file.
-
- When building a spanned disk set, you should always have AutoSave set to False.
-
- The following new methods were added in Abbrevia 1.04:
-
- TAbZipOutline.CloseArchive
- TAbZipOutline.OpenArchive
- TAbZipBrowser.CloseArchive
- TAbZipBrowser.OpenArchive
-
- These methods are not documented in the manual. See the Abbrevia help file
- for a description of these methods.
-
-