Subject Re: [firebird-support] Using firebird api in bcb6 project
Author Dan Wilson
> I've tried to use some fb api functions in builder project. I know I
> have to include <ibase.h>, but compiler showed only 'uresolved
> external ...' error.
>
> Do I have to include proper fbclient*.lib/ibtools*.lib to the
> project? I've got only fbclient_ms.lib/ibtools_ms.lib (compiled for
> MS VC, aren't they?).
>
> Then what should I do to use firebird api functions in BCB?
>

I can't answer your direct question about the FB API. However, I would like to suggest that you take a look at IBPP, a really good C++ wrapper around the raw API (http://www.ibpp.org). It handles a lot of gruesome API details from you and makes database access much easier. There are also several good component sets for use within C++ Builder if you want a higher-level interface: you might check out the list available at http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_dev_comps.

HTH,

Dan.