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

RB 6.03/Delphi5/DBISAM-Hidden BDE?

edited June 2006 in General
I've got a question for the architects of RB. It seems strange, but a quick,
short answer is all I need to help me along in resolving some weird
behavior.

I have a small app built with RB6.03/Delphi5 and DBISAM 3.03. It contains a
DBISAM database, several DBISAM tables and a DBISAM Session in addition to
one Form, buttons, etc. The app simply collects some filtering criteria and
prints a report based on a single DBISAM table (using a ppBDEPipeline on the
table).

I was demoing it for a client and when the form was closed an error message
regarding a problem with the BDE (yes Borland Database Engine) was
displayed. Sorry I was so stunned I forgot to copy the text of the message
down.

As I say, the app only uses DBISAM tables and consists of a single report
rolled into the EXE. No external RB files. Is there ANYTHING built into RB
that implicitly uses the BDE? I've checked and rechecked that I'm not using,
directly or indirectly (the app contains one form) any BDE components. The
only thing that is different from my usual design is that I needed to
instantiate a DBISAM Session component because I couldn't unlock the
encrypted tables using the standard session.

If the answer is, NO, RB doesn't use the BDE in any way (unless of course
your using Px or Dbase tables) then I will look further.

Thanks.

=NLK=

Comments

  • edited June 2006

    Open the DADE plug-in package for DBISAM, rbDBISAM.dpk, and check the
    requires clause. Make sure there is not a reference to BdeRtl. A while back
    we found that the rbDBISAM.dpk package contained a Bde reference
    erroneously.





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2006
    Nard:

    Thanks, but I don't seem to HAVE a rbDBISAM.dpk (searched my entire hard
    drive). Does it come in another guise or is there another package I should
    check?

    =NLK=


  • edited June 2006

    - Well, that is not the exact name, I should have been more clear. The DADE
    plug-in for DBISAM is installed to RBuilder\Demos\EndUser Databases\DBISAM.
    There is a unit called daDBISAM and a package that is called rbISAMxy.dpk
    where the xy is replaced with the RB version and Delphi version. (Not sure
    why the name is rbISAM rather than rbDBISAM...).

    - Check the 'uses' clause of daDBISAM.pas and remove any BDE references
    - Check the 'requires' clause of the rbISAMxy package and remove any BDE
    references.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2006
    Nard:

    OK thanks, found the files (xy = 55).

    Unfortunately, no hint of BDE in either the uses clause of the PAS or the
    requires list in the package. Must be something I'm doing. I'll try going
    back to the default session and see if that changes anything.

    Thanks much for trying to help.

    =NLK=

This discussion has been closed.