|Subject||Re: How do you hook up Zeos to FB embedded?|
On Tuesday, 29 September 2015, Helen Borrie helebor@... [firebird-support] <firstname.lastname@example.org> wrote:
At 08:53 p.m. 29/09/2015, Mark Patterson mark.aurelius@... [firebird-support] wrote:
>I have put all the DLLs in the same directory as the EXE I am producing.I have copied fbembed.dll to both fbclient.dll and gds32.dll. I have a TZConnection with protocol = 'firebird-2.5' Â and when I set Connected := true on it, I get this error message:
>None of the dynamic libraries can be found or is not loadable: D:\Dev ..\Win32\Debug\!
>Use TZConnection.LibraryLocation if the location is invalid.
>I tried setting LibraryLocation to ExtractFilePath(ParamStr(0)), but the same error message appears.
>A quick google didn't show up a solution. Any ideas?
Erm...this is NOT a Delphi support list! But here's a hint: embedded is a deployment option for single-user single-machine use. For development you'll need to use the full server. Reason: two different user-spaces can't connect simultaneously to the same database. Meaning: if the IDE (one user space) has components connected to the database via an embedded server then your exe (in its own user space) can't connect to it via another embedded server. So in this case, "not loadable" is the problem, or at least one of the problems.
"protocol = 'firebird-2-5' " is probably another. With Delphi database connection components, the protocol property is usually some symbol indicating the connection protocol - TCP/IP, WNET a.k.a. netbeui or local. For example, in an IBObjects TIB_Connection, the protocol property set is [cpLocal, cpNetBEUI, cpTCP_IP].
I suggest you hunt out a Delphi or Lazarus support list where third-party components are on the menu....or maybe read the Zeoslib component help?