Subject | Re: [firebird-support] sample C code for connecting to embedded server? |
---|---|
Author | Paul Reeves |
Post date | 2004-01-08T19:21:59Z |
On Thursday 08 January 2004 15:29, landydan wrote:
Is there a way to make database calls directly from
And there is also ibpp (a sourceforge project) which is a C++ wrapper
around the Firebird C api.
server because it isn't really any different to accessing a remote
server. The main practical difference is that you are loading the
embedded server library, not the normal firebird client library.
Internally everything else should be the same.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase
>Why? It is a fast and effective way to generate the api calls.
> I want to write a C application that can communicate with the embedded
> version of the Firebird server, but I would like to avoid having to
> use the special pre-processor that seems to be required in the sample
> files provided.
Is there a way to make database calls directly from
> C or C++?There are also examples in the same directory of calling the api directly.
And there is also ibpp (a sourceforge project) which is a C++ wrapper
around the Firebird C api.
> If so, is there some setup I need to do (like establishingOr you could use ODBC.
> an ODBC data source or something)?
>
> I am hoping for a situation similar to SQLITE, where you just makeI don't know if anyone has done any specific examples for the embedded
> SQL calls against a database file without a database server that
> requires a separate installation.
>
> Is there a place I can find an example of this?
>
server because it isn't really any different to accessing a remote
server. The main practical difference is that you are loading the
embedded server library, not the normal firebird client library.
Internally everything else should be the same.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase