Home DADE
New Blog Posts: Merging Reports - Part 1 and Part 2

IBX versioning troubles...

edited September 2005 in DADE
I've recently downloaded a trial version of RB9.02 Server for delphi 6. When
I compie an existing project (that was built with RB6.03) I get a
compilation error of "Unit daIBExpress was compiled with a different
version of IBDatabase.TIBDatabase"

It looks like a versioning problem with the IBX component, but I'm not sure
how to go about fixing it, since I can't recompile the daIBExpress unit
(since it's a trial version).

Thanks,
Brent

Comments

  • edited September 2005
    Oh yeah....
    I"m using version 6.05 of the IBX controls.

    Thanks,
    Brent

  • edited September 2005

    Thanks for your interest in RB Server Edition...

    I created the following download for you - it contains the relevant source.
    The article below explains the details.

    http://www.digital-metaphors.com/tips/daIBExpress_D6.zip



    -------------------------------------------------
    Article: Resolving IBExpress compatibility Issues
    -------------------------------------------------

    The ReportBuilder Query Tools support the Interbase Express data access
    components via a DADE plug-in. The plug-in consists of the daIBExpress.dcu
    unit and the rbIBE9x.bpl package. (Note: the '9x' is replaced by 96 for
    Delphi 6, 97 for Delphi 7, etc).

    The rbIBE9x.bpl package is compatible with the version of InterBase Express
    that ships with Delphi. Updated versions of InterBase Express may require
    that this package be recompiled.


    Compiling the ReportBuilder DADE Package for InterBase Express
    --------------------------------------------------------------

    1. The ReportBuilder DADE source files for InterBase Express are located in
    the ..\RBuilder\Source directory.

    a. daIBExpress.pas - source code to data view class
    b. rbIBE9x.dpk - source package that contains the daIBExpress.pas unit

    2. Copy the following files to your ..\RBuilder\Lib directory:

    - daIBExpress.*
    - rbIBE9x.*

    3. Access the Delphi Environment Options dialog, by selecting the Tools |
    Environment Options from the Delphi menu. Select the Library tab.

    4. Set the BPL and DCP directories to the ..RBuilder\Lib directory. If you
    have installed ReportBuilder into the default directory you can set these
    directories to:

    $(DELPHI)\RBuilder\Lib

    5. Select File | Open from the Delphi menu. In the Open dialog locate the
    'Files of type' drop-down list near the bottom. Select the 'Delphi package
    (*.dpk)' item in this list. Now only package files will be displayed.

    6. Navigate to the ..\RBuilder\Lib directory.

    7. Open the rbIBE9x.dpk package and click the compile button.

    8. Launch the Windows Explorer and examine the files in the ..RBuilder\Lib
    directory. The daIBExpress and rbIBE9x .dcu, .dcp, and .bpl files should be
    stamped with the current date and time. If this is not the case then the
    files have not been regenerated, or your BPL or DCP directory setting is not
    correct and the files have been generated into some other directory.

    9. Access the Delphi Environment Options dialog and clear the BPL and DCP
    directory settings.

    10. Copy the .bpl file to the Windows\System32 directory.



    Installing ReportBuilder DADE for InterBase Express
    ----------------------------------------------------

    1. To use the InterBase Express DataView at run time, add daIBExpress to the
    'uses' clause of the form that contains the TppDesigner component.

    2. To use the InterBase Express DataView at design time, install rbIBE9x.bpl
    into the Delphi IDE.



    ------------------------------------------------------------
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.