On Wed, 25 Jul 2012, Reinier Olislagers wrote:

On 25-7-2012 12:40, [email protected] wrote:


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
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.



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.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to