HALLOGRAM PUBLISHING
SHOPPING CARTSITE MAPCONTACT USPRODUCTS
HOMEBARCODESDEVELOPER TOOLSUSER TOOLSTRAINING
CodeBase

CodeBase for 'C++' Programmers

CodeBase includes an incredibly flexible API for C++ programmers that provides all the database functionality you could ever need. Not only is a complete set of high-level function calls provided, but the low-level API is exposed as well.

With these low-level functions you can gain extra speed by extracting only the exact functionality you need from the library--no extra overhead. Plus you can use the low-level functions (like or linked list and file functions) for general programming tasks, saving you hours of programming, and helping keep your .exes as small as possible by reducing redundant functionality in your code.


Performance & Flexibility

One of the main reasons developers tell us they use CodeBase is that the built-in database support that comes with their compiler just isn't flexible enough, isn't fast enough and is too big for them to use effectively in their applications. So why not try CodeBase, an engine that's flexible, fast and compact?

You also get the complete source code for the CodeBase engine, written entirely in C and C++. This gives you the flexibility to make any custom changes you require, and to implement bug fixes (a rarity!) immediately, by simply applying a fix from the CodeBase tech department and recompiling the library. No other product offers you this type of flexibility.


Platform & Compiler Support

CodeBase comes in four basic versions. The standard version is for Intel processors running on PCs. This version supports Windows 95, NT, 3.1 and DOS.

The standard version includes full support for 16 and 32-bit programming using Microsoft and Borland compilers. Compiler versions supported include MS Visual C++ 1.5, 2.x, 4.x and Borland 4.5 and 5.0

The OS/2 version includes the standard version, plus support for the OS/2 operating system, and the IBM Visual Age compiler.

Two Unix versions are available, one for Intel-based systems, and one for non-Intel systems. Our Intel-based version includes the standard version, plus support for SCO and other Intel-based versions of UNIX. Our non-Intel version includes the standard version plus support for Sun, Solaris, HPUX and other non-Intel versions of UNIX.


CodeBase API

The CodeBase API is simple to learn and use. If you have an xBase programming background, you'll appreciate the familiarity of the CodeBase API, which uses an xBase-like naming convention. Even if you don't, you'll appreciate the API's straightforward naming convention. Here's a small example that show's you how easy it is to use CodeBase with C++:

CodeBase 6: C++ Example

// List the MAILING.DBF data file ordered alphabetically by last name. 
   #include "d4all.hpp"
       void main(void)   {
          Code4 codeBase;                    // Initialize CodeBase++
      Data4 mailing(codeBase, "MAILING");    // Open MAILING.DBF
      Tag4 lastName(mailing, "LAST");        // Define tag object

      mailing.select(lastName);              // Select last name ordering
      mailing.top();                         // Go to top of mailing file

      while(! mailing.eof())   {                 
          cout << "\n" << mailing.recNo() << " "; // Display record number

      // For each field in the mailing file.
         for (int j = 1; j <= mailing.numFields(); j++)   {
                Field4 field(mailing, j);
                cout << field.str()  << " ";  // Display each field’s contents
         }

         mailing.skip();                     // Skip to next record
      }
         mailing.close();
       }
   


CodeBase 6 Function List

Here are just a few of the 300 fully documented CodeBase C++ Methods:

Data File Methods
append eof lockFile reccount top
blank field lockGroup recno unlockAll
bottom flush numFields record unlockFile
close go open reindex unlockIndex
create index pack seek unlockRecords
data lock position skip write
delete lockAppend recall tagSelect zap

Field Methods
assign changed lower number trim
assignDouble decimals maximum ptr true
assignField len name str type
assignLong lockCheck ncpy substr upper

Index File Methods
close data init open tag
create fileName isValid reindex tagAdd

Relation Methods
bottom errorAction lockAddquerySet skip sortSet
changed init master skipEnable top

Logging and Transaction Methods
connect logFileName logOpenOff tranRollback tranStart
logCreate logOpen tranCommit tranStart tranStatus

If you’re developing database applications in C++ that require high-performance, xBase compatibility, portability or royalty-free distribution, then CodeBase is the choice for you.


Return to the CodeBase Main Page
CodeBase Features
CodeBase & C
CodeBase & Visual Basic
CodeBase & Delphi
CodeBase & Java
Visual Report Designer
Data-aware Controls
CodeBase User List


Royalty-Free source code is included. Does not work with Visual FoxPro Databases. All CodeBase versions include the Windows/DOS version.

Upgrades for previous versions are available.

Order CodeBase
CodeBase Bundle for Windows & .NET
  • Visual Basic .NET, C#
  • Visual Basic, C/C++, Delphi
  • Windows XP/2000/NT/ME/9x
  • $475
    CodeBase for Windows
  • Visual Basic, C/C++, Delphi
  • Windows XP/2000/NT/ME/9x
  • $425
    CodeBase SQL 2.0 for Windows
  • ODBC, ADO, ADO.NET, C/C++, C#, VB/VB.NET, Delphi, Java, Crystal Reports
  • Windows XP, 2000, NT, Me, 9x
  • $595
    CodeBase SQL-ODBC Driver for Linux
  • C/C++, Java, FoxPro & Visual FoxPro
  • Linux [Redhat, Suse, Caldera, Debian, ...]
  • $595
    CodeBase for UNIX (Intel)
  • Includes CodeBase for Windows
  • C/C++
  • SCO, Linux, BSDi, Unisys, X86
  • $1495
    CodeBase for UNIX (non-Intel)
  • Includes CodeBase for Windows
  • C/C++
  • Solaris, AIX 32, HP-UX 32, IRIX
  • $2995
    CodeBase for Linux
  • C/C++
  • Linux [Redhat, Suse, Caldera, Debian, ...]
  • $445
    CodeBase for Kylix
  • Kylix
  • Linux [Redhat, Suse, Caldera, Debian, ...]
  • $445
    CodeBase for Java - Intel Version
  • includes client/server version
  • includes stand-alone JNI versions for Intel-based platforms
  • $495
    CodeBase for Java - All Platform Version
  • includes client/server version
  • includes stand-alone JNI versions for Intel and non-Intel based platforms
  • $995
    CodeBase for JDBC 3.0
  • Client/server solution supporting JDBC 2.1
  • This is a standalone product
  • $495
    CodeBase for J2ME
  • Includes CodeBase for Linuxx
  • Java (Constrained Environment)x
  • Linux
  • $495
    CodeBase for Windows CE
  • Includes CodeBase for Linuxx
  • Java (Constrained Environment)x
  • Linux
  • $695
    CodeBase for Macintosh with OS X Support
  • C/C++
  • Mac OS X/9/8/7
  • $495


    Home || Shopping Cart || Site Map || Newsletter/Blog
    Search HALLoGRAM || Request More Information
    CALL TOLL FREE 1-866-340-3404

    ©Copyright 1999 HALLoGRAM Publishing, Aurora CO. All Rights Reserved.
    All products mentioned in this site are trademarks of their respective owners.
    dmcakegrim