|
These instructions describe how to upgrade the Rubicon
2.11a packages that were compiled with FF 2.06 to the new FF 2.10
packages under Delphi 5. While the details may differ, the basic
techniques described here can be applied to other versions of Delphi or C++
Builder, other versions of FF, and other Rubicon drivers. Steps
shown in blue are only required for those
packages such as DBISAM and FlashFiler which give each release a unique
package name. First,
be sure Rubicon 2.11a and FF 2.10 are installed. Since Rubicon 2.11a
was compiled with FF 2.06, the Rubicon FF drivers will not load
correctly when Delphi 5 is started. There are two ways to upgrade the
Rubicon FF drivers: with the Delphi IDE and with the Delphi command line
compiler. Delphi IDE
- Start Delphi 5
- If you get an error message about being unable to
load rb20f50d.bpl, click 'No' so Delphi does not attempt to load it
again next time
- Click Tools | Environment Options | Library and
check that 'BPL output directory' and 'DCP output directory' are blank. This will force the
package files about to be compiled to be placed in \rubicon2\d5 (overwriting
the old versions).
- Open \rubicon2\d5\rb20f50r.dpk
- Ignore any error about the package being in an
older format (you may press 'Yes' or 'No', it makes no difference)
- Right click on the dialog box
- Click on View Source
- Find f206_r50 and change it to f210_r50 (the current package name)
- Press Ctrl+S to save the changes
- Return to the package dialog box
- Press Compile
- Press OK when done compiling
- Open \rubicon2\d5\rb20r50d.dpk
- Press Install
- Press OK when done installing
- Exit Delphi
- Copy the new \rubicon2\d5\rb20f50r.bpl to your
system directory (Important!).
Delphi Command Line Compiler
- Exit Delphi 5
- Open a Command Prompt or DOS Window
- Change the directory to \rubicon2\d5
- Open rb20f50r.dpk with Notepad
- Change f206_r50 to f210_r50 (the current package name)
- Save the changes and exit Notepad
- Execute the following command to recompile the
Rubicon FF driver run time package (the path to dcc32.exe and the FF library may vary):
"c:\program files\borland\delphi5\bin\dcc32" rb20f50r.dpk -Ud:\ff2
- Execute the following command to recompile the
Rubicon FF driver design time package (the path to dcc32.exe and the FF library may vary):
"c:\program files\borland\delphi5\bin\dcc32" rb20f50d.dpk -Ud:\ff2
- Confirm that the new bpl and dcp files have been created in
\rubicon2\d5. If not, check to see if a different output directory
is specified in \program files\borland\\delphi5 \bin\dcc32.cfg, and if
so, remove it.
- Copy rb20f50r.bpl to your system directory (Important!)
- Start Delphi 5
- Click Component | Install Packages and make sure
that the Rubicon FF driver has a checkmark (This assumes that a
prior version of the Rubicon driver was installed. If not, then
rb20f50d.bpl will have to be installed)
Troubleshooting
The most common problem that occurs during recompiling
is that one or more out of date files are visible to the compiler.
Check your system for rb20f50?.*. These files should only be in
\rubicon2\d5 and your system directory. In addition, you may have to
delete the following from \rubicon2\d5: rb20f50?.dcp, rb20f50?.dof,
rb20f50?.bpl, and rb20f50?.dcu (for C++ Builder also delete rb20f50?.lib,
rb20f50?.obj, rb20f50?.tds, and rb20f50?.bpi).
If you are using the command line compiler, check that
the path information in \program files\borland\\delphi5\bin\dcc32.cfg is
correct.
|