PLEASE PRINT THIS PAGE OUT IF YOU DO NOT KNOW HOW TO APPLY TOPAZ PATCHES
Click Here To Print
Make sure that your code patch matches your specific TOPAZ version.
For example, never apply fixes650 file to TOPAZ version 7.0.
As you see usually fixes file will have the version number
as part of the filename: FIXES650.ZIP is to be applied to
TOPAZ version 6.5. If there is FIXES651 file you would apply
it to TOPAZ 6.5 or TOPAZ 6.51, in both cases you'll end up with
TOPAZ version 6.51. As you see if there is a minor release (like version
6.51 compared to version 6.5), it is usually available free of charge.
All you need to do is to apply a code patch to bring your code up to
the minor release version (in this case version 6.51).
Some programmers have trouble applying the patch just because they forget that
code patches are incremental. You do not need to wipe out the entire TOPAZ
directory before applying the patch! The files in the fix are supposed
to overwrite the files in your TOPAZD directory. Keep in mind that fixes
file does not have all of the source code files. As a rule, fixes contain
only the files which have been changed since the last major release.
If you installed TOPAZ according to the instructions you'll have TOPAZD
directory off the drive C:
C:\topazd
|--readme.800 { README file }
|
|--cppunits { C++Builder specific files }
|
|--help
|
|--units { TOPAZ units }
|
|--startup { files used in tutorial section }
|
+--samples { samples directory }
Copy the fixes file (our example FIXES651.ZIP) into C:\TOPAZD directory.
Unzip the file with two options:
(1) overwrite existing files
(2) restore the original directory structure
Another way of doing this is to extract/unzip the fixes???.zip file into
a separate directory with the "restore the original directory structure"
option and move and overwrite files in C:\TOPAZD. Be sure to move files
into their proper subdirectories.
After upgrading the code you may want to rebuild the TOPAZ component
library. Start Delphi, close all projects by clicking on "File|CloseAll".
If you are using Delphi 3 select "File|Open" option. If you are using
a later version of Delphi, or if you are using Kylix, select
"File|OpenProject" option.
When the FileOpen dialog pops up, click and change the "Files of Type"
to "Delphi Package (*.dpk)". We'll be looking for a specific DPK file.
Browse to "topazd\units" directory. There will be several DPK files
to choose from. Please select the appropriate package source:
TOPAZ_D3.DPK for Delphi 3,
TOPAZ_D4.DPK for Delphi 4,
TOPAZ_D5.DPK for Delphi 5,
TOPAZ_D6.DPK for Delphi 6,
TOPAZ_D7.DPK for Delphi 7, and
topaz_k1.dpk for Kylix.
Please make sure that you point to the proper package file!
Click on the Open button. This will bring up the package editor window
which has several speed buttons. If the "Install" button is active, click
on the "Install" button. If the "Install" button is grayed out click on
the "Compile" speed button. Compiling will take a few seconds and your
mouse cursor will turn into an hour glass.
At this point you are ready to close open windows,
reload your project or projects, and rebuild them with the fresh
TOPAZ library.
If you have any problems during the installation and feel like you are
stuck, then please go to the TOPAZ README file, follow the instructions
closely. Entirely uninstall TOPAZ library by following the steps and
reinstall the components again this time following the README file.