Subject | RE: [IBO] How to set what DLL to use |
---|---|
Author | Alan McDonald |
Post date | 2006-07-04T07:18:14Z |
I quote Mark Pickersgill
take a look at the release notes for ibobjects. There have been some
changes in this area for being able to specify different client dll
names. Just do a search for "IB_GetClientLibNameFunc" in:
http://www.ibobjects.com/ReleaseNotes.rtf
Rather than re-assigning the constant, you can now specify a function
that determines what dll name to use.
Also, by the looks of things, by default, the fbclient.dll is attempted
to be loaded first and if it's not found, ibobjects attempts to load
gds32.dll
There's also a "use-at-own-risk" method for unloading and reloading the
dll...but be sure to read the Release Notes!
cheers
Mark
take a look at the release notes for ibobjects. There have been some
changes in this area for being able to specify different client dll
names. Just do a search for "IB_GetClientLibNameFunc" in:
http://www.ibobjects.com/ReleaseNotes.rtf
Rather than re-assigning the constant, you can now specify a function
that determines what dll name to use.
Also, by the looks of things, by default, the fbclient.dll is attempted
to be loaded first and if it's not found, ibobjects attempts to load
gds32.dll
There's also a "use-at-own-risk" method for unloading and reloading the
dll...but be sure to read the Release Notes!
cheers
Mark
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Johannes Pretorius
> Sent: Tuesday, 4 July 2006 5:07 PM
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] How to set what DLL to use
>
>
> A second question. Can this value be set at runtime, or must it
> be set in the code directly (Component code )
>
> I will rather want it to be done at runtime, AS I don't really
> want to change the component
>
> thanks
>
> JOhanens
>
> At 08:59 04/07/2006, you wrote:
>
> >> Good day Alan
> >> =-0-0=-0=-0=
> >>
> >> Basically I have a BDE (Delphi) application that does a query
> >> from a table that has a TIMESTAMP column. The problem
> >> is that when I do this I get the error that TIMESTAMP is
> >> unknown. AS I say I cannot replicate it here. Will have to do at home.
> >>
> >> In short , I basically wanted to know if the IBObjects component
> >> can be set to use a specific DLL. If there was a reload
> >> DLL function. If not it is fine. I will try and find a
> solution for this.
> >>
> >> Thanks for the help
> >>
> >> JOhannes
> >
> >you can set the client lib name in IBO but the search path is your PCs
> >search path. As I said, you are barking up the wrong tree and
> wasting time
> >trying to tell IBO where to find the lib. If it's adjacent to
> your exe and
> >it's called gds32.dll then it will be the one IBO uses.
> >if there is no gds32.dll in your exe folder, then it will look
> in system32
> >for it.
> >BDE is involved too eh? with IBO? not sure I understand yet what you have
> >there but there IS an issue with dialects and datatypes as you
> move up thru
> >IB5.6 to 6 to FB1.5 and what datatypes are avilable to you with
> the dialect
> >you have chosen. BDE adds more confusion now
> >Alan
> >
> >
> >
> >
> >_________________________________________________________________
> __________
> >IB Objects - direct, complete, custom connectivity to Firebird
> or InterBase
> > without the need for BDE, ODBC or any other layer.
> >_________________________________________________________________
> __________
> >http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> >keyword-searchable FAQ, community code contributions and more !
>
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >--
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.1.394 / Virus Database: 268.9.8/381 - Release Date: 03/07/2006
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.1.394 / Virus Database: 268.9.8/381 - Release Date: 03/07/2006
>
>
>
>
> __________________________________________________________________
> _________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________
> _________
> http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Yahoo! Groups Links
>
>
>
>
>
>
>