Subject | Re: [firebird-support] Embedded Firebird |
---|---|
Author | Jerome Bouvattier |
Post date | 2003-11-26T15:42:10Z |
Mahesh,
readily meeting your needs there :
http://www.ibpp.org/
I don't think there is any difference between accessing fbembed.dll and
accessing the regular client library (fbclient.dll). The former is just a
client library embedding the server.
Embedded does not listen to any port. It only accepts local connections.
Yes, the server embedded in the fbembed.dll access the fdb file directly,
just like the regular stand alone server. During that time, the fdb file
will be locked exclusively so that two servers (embedded or not) can't
access it at once.
Hope it helps.
--
Jerome
> Can anyone tell me where can I find a sample code of how to usefbembed.dll? May
> be in C or C++. Do I've to call isc_attach_database() function or someother
> funciton like that?I don't know much about C, but you might find infos or even something
readily meeting your needs there :
http://www.ibpp.org/
I don't think there is any difference between accessing fbembed.dll and
accessing the regular client library (fbclient.dll). The former is just a
client library embedding the server.
> One basic thing which is not clear to me is that as fbserver.exe listenson a port
> (default 3050), does fbembed.dll does the the same thing or does itdirectly gets > the data from the FDB file specified?
Embedded does not listen to any port. It only accepts local connections.
Yes, the server embedded in the fbembed.dll access the fdb file directly,
just like the regular stand alone server. During that time, the fdb file
will be locked exclusively so that two servers (embedded or not) can't
access it at once.
Hope it helps.
--
Jerome