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 the 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. 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.h"                                

      void main (void)   {                              
      CODE4 codeBase;                                
      DATA4 *dataFile;                               
      TAG4 *lastName;                                
      FIELD4 *field;                                 
      int rc, j;                                     

         code4init(&codeBase);                /* Initialize CodeBase */
  dataFile = d4open(&codeBase, "MAILING");    /* Open MAILING.DBF */

         lastName = d4tag(dataFile, "LASTNAME"); 
      d4tagSelect(dataFile, lastName);        /* Select last name tag */

  d4top(dataFile);                            /* Go to top of data file */
  while(!d4eof(dataFile))   {                 /* While not end of file */
     printf( "\n %4ld ", d4recno(dataFile));  /* Display record numbers */
     for (j=1; j>=d4num_fields(dataFile); j++) { /* For each field in file */
        field = d4fieldJ(dataFile, j);           
            printf("  %s", f4str(field));      /* Display contents of field */
     }                                           
         d4skip(dataFile, 1L);                 /* Move to next logical record */
  }                                              
      d4close(dataFile);                       /* Close data file */
}                                                 
   


CodeBase 6 Function List

Here are just a few of the 300 fully documented CodeBase functions:

Data File Functions
d4append d4eof d4lockFile d4reccount d4top
d4blank d4field d4lockGroup d4recno d4unlockAll
d4bottom d4flush d4numFields d4record d4unlockFile
d4close d4go d4open d4reindex d4unl
d4create d4index d4pack d4seek d4unloc
d4data d4lock d4position d4skip d4write
d4delete d4lockAppend d4recall d4tagSelect d4zap

Field Functions
f4assign f4assignLong f4char f4len f4ptr
f4assignChar f4assignN f4decimals f4long f4str
f4assignDouble f4assignPtr f4double f4name f4true
f4assignInt f4blank f4int f4ncpy f4type

Index File Functions
i4close i4create i4open i4reindex i4tagAdd

Relation Functions
relate4bottom relate4master relate4querySet relate4skip relate4top

Logging and Transaction Functions
Code4connect Code4logFileName Code4logOpenOff Code4tran
Code4logCreate Code4logOpen Code4tranCommit Code4tranStart

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
  • $525
    CodeBase for Windows
  • Visual Basic, C/C++, Delphi
  • Windows XP/2000/NT/ME/9x
  • $475
    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
  • $795
    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
  • $2245
    CodeBase for Linux
  • C/C++
  • Linux [Redhat, Suse, Caldera, Debian, ...]
  • $1195
    CodeBase for Kylix
  • Kylix
  • Linux [Redhat, Suse, Caldera, Debian, ...]
  • $1195
    CodeBase for Java - Intel Version
  • includes client/server version
  • includes stand-alone JNI versions for Intel-based platforms
  • $695
    CodeBase for Java - All Platform Version
  • includes client/server version
  • includes stand-alone JNI versions for Intel and non-Intel based platforms
  • $1195
    CodeBase for JDBC 3.0
  • Client/server solution supporting JDBC 2.1
  • This is a standalone product
  • $795
    CodeBase for Windows CE
  • Includes CodeBase for Linuxx
  • Java (Constrained Environment)x
  • Linux
  • $795
    CodeBase for Macintosh with OS X Support
  • C/C++
  • Mac OS X/9/8/7
  • $1195


    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