Subject | Re: [ib-support] how do i connect C++ to firebird or interbase? |
---|---|
Author | pschmidt@interlog.com |
Post date | 2002-11-14T15:36:08Z |
On 14 Nov 2002 at 9:15, dorst622@... wrote:
I have used IBPP with good success, there is another (SQL++ I think). You can use
Embedded SQL where the SQL statements actually are embedded in the C++ code,
and a pre-compiler (gpre) turns them into C code. There is always the API, but it's
not for the faint of heart. There are drivers for ODBC, OleDB (or whatever they call
it this week), .Net et al. See www.ibphoenix.com and look for contributed
downloads, for other libraries.
Grading from best to worst, for performance, the API is probably the best, ODBC
would be worst (because of the double translation layer).
For ease of use, I would put IBO first, but it only works with C++ Builder.
> Hi I like to know.There are several methods, you can use a client library, IBO (on C++ Builder only),
>
> how do I connect C++ to firebird or interbase?
>
> I'm new with interbase.
>
> hope you can help me.
>
I have used IBPP with good success, there is another (SQL++ I think). You can use
Embedded SQL where the SQL statements actually are embedded in the C++ code,
and a pre-compiler (gpre) turns them into C code. There is always the API, but it's
not for the faint of heart. There are drivers for ODBC, OleDB (or whatever they call
it this week), .Net et al. See www.ibphoenix.com and look for contributed
downloads, for other libraries.
Grading from best to worst, for performance, the API is probably the best, ODBC
would be worst (because of the double translation layer).
For ease of use, I would put IBO first, but it only works with C++ Builder.