[Lazarus] Cannot connect Firebird server

Reinier Olislagers reinierolislagers at gmail.com
Thu Jul 26 10:57:47 CEST 2012


On 26-7-2012 9:59, Michael Van Canneyt wrote:
> On Thu, 26 Jul 2012, Graeme Geldenhuys wrote:
>> Hi,
>> On 25 July 2012 11:40,  <michael.vancanneyt at wisa.be> wrote:
>>>
>>> Then, try adding
>>>   InitialiseIBase60('fbclient.dll');
>>> as the first line in your program source.
>>
>>
>> Why do you need that? All my tiOPF based apps, and tiOPF itself
>> doesn't contain such a line, yet I connect to Firebird without
>> problems.
>>
>> Just curious, as this is the first time I hear about that function call.
> 
> The call is implicit when you connect to firebird for the first time
> with SQLDB.
> It loads the library, and then loads all entry points it finds.
> 
> It just means that in your case, the library is always correctly found.
> (which is a good thing)
> 
> You might need the call if the default load sequence is not to your liking.
> I think it first tries embedded, then FB and finally Interbase.
Nope, unfortunately it doesn't try embedded first, but last. See my
earlier post.

> if you want to force interbase on a system where also Firebird is
> installed, then you would put a
> 
>  InitialiseIBase60('gds32.dll');
> 
> at the start.
Yes, that's useful.





More information about the Lazarus mailing list