Subject RE: [IBO] Install Problems and After Install Problems
Author Jason Wharton
Regarding the install problem. I've stripped out the TIB_OleContainer
control. It was way too much headache to be worth it. All future versions
of IBO will have it in the AddOns where it was before.

The other problem has to do with some changes made to acquiring the
addresses of the exported methods in the client library. They remain nil
because there is an assumption if a live connection handle exists that they
export addresses have already be acquired. I need to touch up the code to
cover the case where a live handle is simply handed to the connection

What you will need to do to work around it for now is to make a call with
the connection object that will trigger it to read in the client library
export methods. You could connect it directly, then disconnect it and then
plug in the shared database handle. You may be able to do something more
simple too. Just play with it a little and I'll work on getting this fixed
for the next sub-release.

Jason Wharton

> -----Original Message-----
> From: []On
> Behalf Of trac_t2000
> Sent: Friday, March 31, 2006 5:00 PM
> To:
> Subject: [IBO] Install Problems and After Install Problems
> Hello:
> I am using Delphi 5 Ent and trying to install IBO 4.6. Before this I
> had 4.3xx. My problem seems to be coming from the
> IB_OLEContainer. It
> uses a ZLib.pas. I use another component for Report Builder called
> XtraDev, which also uses a pas file called zLib.
> I don't think I need the IB_OLEContainer so I removed all
> reference to
> it in the IBO packages. Well, I finally got it to work and
> things seem
> to be fine so far....Is this going to be a problem?
> Ok for the after install problem. MY MAIN PROBLEM....
> One of our main apps is still using both BDE and IBO for
> connections.
> We have code that worked with the previous version of IBO but
> now does
> not. Basically, our app would connect the BDE's TDatabase
> first...Then
> it would get the Data handle from the TDatabase object and
> assign it to
> the IB_Connection's dbHandleShared. Well since I have installed the
> new version, it is throwing an access violation.
> 'Access violation at address 00000000. Read of address 00000000'
> Below is the line of my code throwing the error....
> 'Ib_Connection1.dbHandleShared := GetNativeHandle(dbBDEMain);'
> I have verified that the IB_Connection and the TDatabase
> Connection are
> NOT nil...It must be something with the dbHandleShared property. I
> have tried to trace the code down. Here are the procedure
> calls that I
> can successfully trace down:
> TIB_Connection.SetdbHandle( AValue: isc_db_handle );
> -> SysUpdateCharacteristics
> -> API_Database_Info( Items, Results );
> -> errcode := isc_database_info
> It seems to throw the error somewhere from the isc_database_info.
> I am using firebird 1.5...Not sure what else I need to say..
> Can anyone help me?
> Trac