Borland database desktop 7.0
Database access through Microsoft seems to be getting more complicated rather than easier and they keep changing the APIs.BDE provides access to dBase files with the cumbersome COM overhead of Jet or ADO, and does not use those horrid OLEVARIANT types!.Although I have not tested this class or the BDE with multi-threading, the BDE, unlike Jet, is supposedly safe for multi-threading.If you want to access these tables, direct use of the BDE is the best way. Paradox tables past version 5.0 are not supported by Jet.Why would you want to access the Borland Database Engine from Visual C++ programs? Set an integer field by passing an integer value, or a string value). One field accepts a field valueĪs a string, and the other accepts a field value in it's native type (e.g., you can Type conversions possible in the CBdeDatabase class. Some types have two entries in the dialog above in order to test the In the example data table, there is one fieldįor each type. This articleĪlso provides a nice example of the development and use of user-defined CException-derivedĮxception handlers, with enhanced error messages. The classes provided here make extensive use of the MFC classes CString and COleDateTimeįor reading and writing string and date/time information to and from tables. Presents these classes with a test-bed program (shown below) for reading and writing data toĪnd from a table using each of the available Paradox data types. Wrapper and associated exception handling class for the BDE API function calls. Therefore, it was well worth my time to develop a class Any function may fail returning an errorĬode that must always be checked.
Unfortunately, the API function calls can be quite complex and multiple API function callsĪre required just to get a database field value. To the BDE API is now much more desireable. OWL in favor of component based compilers such as C++ Builder, an MFC based class interface However, with the decline in popularity of Borland compilers inįavor of Visual C++ and MFC, and the almost total disappearance of Borland's support for
#Borland database desktop 7.0 windows#
Borland compilers, such as Borland C++ 4.5 and 5.0 also includeīorlands's equivalent of MFC is the Object Windows Library (OWL). It provides the database interface for Borland products such as Borland C++, Borland C++īuilder, Borland Delphi, and Borland J Builder.īorland provides library files and header files to facilitate direct access to the BDE API.īorland also provides fairly extensive documentation of each API function, usually including The Borland Database Engine (BDE) is the database engine provided by Borland (now Inprise)įor access to Paradox and dBase databases s well as a few other formats.