Hi everyone,
Does anybody know what the 'firebirdd-x.x' option in protocol property is used for? I've been searching in this forum, but didn't found any answers or posts.
Albert
Firebirdd-x.x in protocol property of ZConnection
Moderators: gto, cipto_kh, EgonHugeist
-
- Fresh Boarder
- Posts: 8
- Joined: 04.10.2007, 10:13
- Location: Yogyakarta, Indonesia
- Contact:
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Yep... It can be used to load the embedded firebird.dll next to the client library.
eg ZPlainFirebird20.pas
This can be used to copy from embedded to client-server firebird using 2 different dll's on different connections.
I think naming comes from the analogy with mysql. There it was implemented first (because of some differences in API-calling made it necessary to have some switch anyway)
Is this answer clear enough?
Mark
eg ZPlainFirebird20.pas
Code: Select all
{ ***************** Plain API Constants definition **************** }
const
WINDOWS1_DLL_LOCATION = 'fbclient20.dll';
WINDOWS1_DLL_LOCATION_EMBEDDED = 'fbclientd20.dll';
I think naming comes from the analogy with mysql. There it was implemented first (because of some differences in API-calling made it necessary to have some switch anyway)
Is this answer clear enough?
Mark
-
- Fresh Boarder
- Posts: 8
- Joined: 04.10.2007, 10:13
- Location: Yogyakarta, Indonesia
- Contact:
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
For firebird it seems not to make a difference, for the moment. You can just replace the client-server dll for the embedded server dll.
But :
- if you start a new project and plan to use the embedded server it's more verbose to use de firebirdd protocol.
- if you want to use both dll's at the same time in your program (eg for copying data) this is an easy way to do it.
- it removes the need to have the same name for 2 different dll's. You can have them both in your system path and just choose which one to use for every individual project.
- maybe the name we chose is a little strange...
Mark
But :
- if you start a new project and plan to use the embedded server it's more verbose to use de firebirdd protocol.
- if you want to use both dll's at the same time in your program (eg for copying data) this is an easy way to do it.
- it removes the need to have the same name for 2 different dll's. You can have them both in your system path and just choose which one to use for every individual project.
- maybe the name we chose is a little strange...
Mark
-
- Fresh Boarder
- Posts: 8
- Joined: 04.10.2007, 10:13
- Location: Yogyakarta, Indonesia
- Contact: