Use
SQLAPI++ which is a C++ library allowing you to connect your C++ application to a database file. I'm not quit sure whether it's the thing you are asking for. It supports Embarcadero C++ compiler which is the latest version of Borland C++. If it does not support old Borland C++, try using any other compiler such as GCC or Visual C++ compiler.