Subject | RE: [IBO] loading gds32 dll or fbclient dll |
---|---|
Author | Alan McDonald |
Post date | 2006-10-27T12:22:10Z |
> > > > >I am trying to use IBO 4.6bcI always deploy with my own version of clientlibrary in my application dir.
> > > > >I do not use any components.
> > > > >I only use IB_Header and IB_Session
> > > >
> > > > TIB_Session is a component...
> > > >
> > > >
> > > > >It is not loading gds32.dll how do I force It to do so?
> > > >
> > > > A TIB_Session object will load the client library when it needs
> > > > to. So, add a connection component and a statement component (or a
> > > > Service component). Then write some code that invokes some function
> > > > in the API and the owning session will load the library.
> > > >
> > > > It seems such an odd question, I'm slightly curious about
> what you're
> > > > trying to do...
> > >
> > > Well, the newer IBO versions load "fbclient.dll" by default.
> > >
> > >
> > > Read the release notes on how to work around this.
> >
> > not exactly, it looks for fbclient first. If not found it tries to use
> > gds32.dll
>
> All fine and dandy, but if you're deploying your InterBase IBO based
> applications and Firebird happens to be installed, you're - all of the
> sudden -
> loading the wrong client library.
>
> This happened to me a few times and I was puzzled as where to look.
>
> Martijn Tonies
That way it's always the first one to be used.
Alan