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

Compile Error

edited January 2004 in End User
Delphi 5 Enterprise, Report Builder Enterprise 7.02

Try to compile RBuilder\Demos\EndUser\ReportExplorer example,

{$DEFINE IBExpress}

when remove the 'x' to enable Interbase Express, the following error appear

Unit daIBExpress was compiled with a different version of
IBDatabase.TIBDatabase

What can i do ?

Comments

  • edited January 2004

    -------------------------------------------------
    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 rbIBE7x.bpl package. (Note: the '7x' is replaced by 76 for
    Delphi 6, 77 for Delphi 7, etc).

    The rbIBE7X.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. rbIBE76.dpk - source package that contains the daIBExpress.pas unit

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

    - daIBExpress.*
    - rbIBE7x.*

    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 rbIBE7x.dpk package and click the compile button.

    8. Launch the Windows Explorer and examine the files in the ..RBuilder\Lib
    directory. The daIBExpress and rbIBE7x .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 rbIBE7x.bpl
    into the Delphi IDE.



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


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

    Best regards,

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