[All]
Can I have ODBC and IB API code in the same application?
Abstract: Can I have ODBC and IB API code in the same application?
Problem:
I have some ODBC code, but would like to start using the API. Can I use them
both in the same app?
Solution:
/*******************************************************************************/
Note: The information in this article applies to
all InterBase versions.
/********************************************************************************/
Yes, you can use both ODBC and native API in the same app.
It is not possible to use the same database connection for ODBC and
the API. You will have to have two separate connections, one for
your API calls, and another for ODBC.