Subject Re: [IBO] Crash on exit
Author Jason Wharton
I have no idea since I have never done anything like this before.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "B.D.S. Bell" <bryan.bell@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, November 07, 2001 10:59 AM
Subject: Re: [IBO] Crash on exit


> Thanks for the prompt reply. We are not using any Event
> alerters.
> I should also have said that the code is run in a DLL and
> when it is unloaded, by Installshield, it crashes at this
> instruction.
>
> Are there any check we could put in the dll?
>
> Bryan
>
> Jason Wharton wrote:
> >
> > Do you use event alterters over a remote connection?
> > If so, this is an interbase bug you are confronting.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> > ----- Original Message -----
> > From: "B.D.S. Bell" <bryan.bell@...>
> > To: "IBO at YAhoo" <ibobjects@yahoogroups.com>
> > Sent: Wednesday, November 07, 2001 4:33 AM
> > Subject: [IBO] Crash on exit
> >
> > > Hi Everyone,
> > >
> > > This is probably one for Jason, but any other comments would
> > > be appreciated.
> > >
> > > We have been using IBO very successfully for some time, but
> > > just recently we did an installation using InstalShield
> > > Professional, which runs an SQL stored proc. The proc runs
> > > fine and all is well until the installation program is
> > > quit.
> > > We get a access violation but only when run under WIN95.
> > > This happens on the instruction FreeLibrary( FGDS_Handle );
> > > in the Destroy...
> > >
> > > destructor TIB_SessionBase.Destroy;
> > > begin
> > > inherited Destroy;
> > > // if InterlockedDecrement( FGDS_SessionCount ) = 0 then
> > > begin
> > > if FGDS_Handle >= 32 then
> > > FreeLibrary( FGDS_Handle );
> > > FGDS_Handle := 0;
> > > // end;
> > > end;
> > >
> > > Commenting out FreeLibrary( FGDS_Handle );, all runs OK.
> > > The other comments above are in the original source code.
> > >
> > > Installation on NT4 Sp6 works fine.
> > >
> > > IBO Ver 3.6Ba
> > > Win95 Installation Application environment
> > >
> > > Any help for a work around /fix will be most appreciated
> > > since we don't want to update IBO until the next release.
> > >
> > > Regards
> > >
> > > Bryan D.S. Bell
> > > Cognito Limited