Subject Re: Install Problems and After Install Problems
Author trac_t2000
Thanks Jason. I have already un-installed the update and just went
back to the prior version that we have. I had to get some work
done :-)

I will wait for the sub-release.

Before when I was trying to debug, I did connect the IBO connection
and then disconnect to try to get rid of the AV errors. It seemed to
work at first, but I found that it made the BDE queries error.

Thanks again


--- In IBObjects@yahoogroups.com, "Jaon Wharton" <jwharton@...> wrote:
>
> 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
> object.
>
> 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.
>
> Regards,
> Jason Wharton
>
>
> > -----Original Message-----
> > From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
On
> > Behalf Of trac_t2000
> > Sent: Friday, March 31, 2006 5:00 PM
> > To: IBObjects@yahoogroups.com
> > 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
>