[Lazarus] Cannot connect Firebird server
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Wed Jul 25 13:10:14 CEST 2012
On Wed, 25 Jul 2012, Sławomir Cabaj wrote:
> W dniu 2012-07-25 12:40, michael.vancanneyt at wisa.be pisze:
>>
>>
>> On Wed, 25 Jul 2012, Sławek wrote:
>>
>>> Hello,
>>>
>>> I'd like to start a new life (after Delphi) with Lazarus IDE but got into
>>> trouble with basic Firebird connection procedure :(
>>> Error message: Cannot load default Firebird clients (fbembed.dll or
>>> gds32.dll) ??
>>>
>>> System Win7,64bit,home
>>> Firebird 2.5/32bit installed on local machine from zip package; database
>>> located on local machine
>>> Lazarus 32bit, 0.9.30.4
>>>
>>> Any hints ?
>>
>> First, make sure that fbclient.dll is in the PATH
>>
>> Then, try adding
>> InitialiseIBase60('fbclient.dll');
>> as the first line in your program source.
>>
>> Michael.
>>
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> Putting "InitialiseIBase60('fbclient.dll');" generated "Identifier not found
> InitialiseIBase60"
Yes, you must of course add the Ibase60dyn unit to the uses clause.
I forgot to mention that.
> but it works when fbclient.dll is located in SysWOW64 directory !
That particular problem happens often :)
Michael.
More information about the Lazarus
mailing list