[Lazarus] Cannot connect Firebird server

Reinier Olislagers reinierolislagers at gmail.com
Wed Jul 25 13:11:36 CEST 2012


On 25-7-2012 13:06, michael.vancanneyt at wisa.be wrote:
> On Wed, 25 Jul 2012, Reinier Olislagers wrote:
>> On 25-7-2012 12:40, michael.vancanneyt at wisa.be wrote:
>>> On Wed, 25 Jul 2012, SÅ‚awek wrote:
>>>> Any hints ?
>>>
>>> First, make sure that fbclient.dll is in the PATH
>> Ah yes, that's of course a neat solution for a dev PC... hadn't thought
>> about that ;)
> 
> It must be true on a client PC as well.
It's just that I'd be loath to change a client's PATH; I'd rather put
the dlls in the application directory and avoid any issues with existing
Firebird dlls being in the PATH etc.

>>> Then, try adding InitialiseIBase60('fbclient.dll'); as the first line
>>> in your program source.
>>
>> AFAIU, via fpc\packages\ibase\src\ibase60.inc, fbclient.dll should be
>> searched automatically, as well as gds32.dll; in newer FPC (at least
>> since revision 20112) fbembed.dll would be searched (though
>> unfortunately not first in the sequence)
>> Wouldn't InitialiseIBase60 be superfluous?
> 
> That's why I added 'then'. It's only the second option.
Got it,

thanks,
Reinier





More information about the Lazarus mailing list