Information on using C and BIN files

 

The following are files in Borland libraries related to working with DBF and C.

Lib:3
CBAYS.EXE/Bin
Title : ANSI C interface library for dbase files v0.1
An ANSI C interface library for dbase formatted files. A toololkit for manipulating database files. Written in ANSI C for portability. Includes sample programs to help manipulate dbase files.

Lib:4
DBDOC.ZIP/Bin
Title : DBDOC.ZIP - C code to access dBASE files
C code to access dBASE IV files structures. Limited to .dbf, .dbt, .mdx, mem, .qbe. (This is not a Borland program. So no guarantees as to the correctness of any code or file format within:)

Lib: 4
TN9209.ZIP - Title: 09/92 TechNotes
Included in this issue: Using dBASE IV to Write C Code................Erik McBeth

For information on using C and BIN files download the following:

Lib:4 TN9007.ZIP - TechNotes: dBASE IV for July, 1990 'It's .bin Fun'
Lib:4 TN9008.ZIP - TechNotes article 'How Low Can You Go'
Lib:4 TN9102.ZIP - Technotes issue 02/91 "Easy .BINs in C"
Lib:4 C0BIN.ZIP - Title: Replace C startup code to write dBASE .BINs in C
Lib:4 MSCBIN.COM - Title: Help creating BIN files from MSC & QC Help creating BIN files from Microsoft C & QuickC. This is sample startup code to be linked to C obj created with MSC or QuickC.
Lib: 3 ASM.ARC - This ARC'd file contains two articles about using assembly language modules with dBASE II, III, and III PLUS. Though III+ is not specifically mentioned, it works the same as Dev. Rel. Also, there are four BIN modules for turning Capslock and Numlock on/off. Real good discussion about how to get started with LOAD and CALL.
Lib: 9 BINMAK.ZIP - Title: RunTime prog to help create .BIN & .COM files.
Lib: 3 MAKBIN.ARC - Title: Convert EXE file to BIN file.

You can also search the libraries on the keyword BIN to find examples and code.

SCAN *.* LIB:ALL KEY:BIN /DESC

What follows is what has been suggested on this forum in the past, in regards to dBASE and 3'rd party C products.

3'rd Party Products:

------------------------------------------------------------

X2c includes 6 libraries, that over DBF files and indexes (all types a-la SoftC), Screens and general functions, all of Clipper extended library (DBEDIT, MEMOEDIT, ACHOICE, etc), long strings (memos), Xbase expressions and new Foxpro/DBIV related features (windows, controls, BROWSE, etc) It has over 700 modules

X2c has database I/O and lots more, even PRG -> C, also For more information about X2c check DBADVISOR/LIB 3 or CLIPPER/lib 7. Databased Advisor carried a product review of X2c in the March 1993 issue, 3'rd Party products X2c is now distributed by:

Rytech Intl
2 Stamford Landing Ste 100
Stamford CT 06902
800-275-8494
203-357-7788
203-357-7842 (fax)
CIS: 72217,2251
Email: rytech@dtop.com

------------------------------------------------------------

SOFTC SoftC is a library of access functions for Xbase databases and indexes. It has forms for C and Windows DLL's You can find SoftC on IBMPRO forum (I believe the following are the file names, no guarantee thou.)
     SCD210.ZIP - SoftC Database Library Version 2.1
     SOFTC2.ZIP - C access to DBF, NDX, NTX, & IDX

SoftC is sold by:

Greenleaf
1-800-523-9830
214-248-2561
214-248-7830 (fax)
16479 Dallas Parkway ste 570,
Dallax TX 75248

Greenleaf Software can also be found in PCVENB, forum 13? 15?

------------------------------------------------------------

CODEBASE
C Library for Database Management
Build multi-user, C or C++ applications compatible with dBASE IV or FoxPro. CodeBase 4.5 comes with complete source code for both the C library and the C++ interface. CodeBase 4.5 is written in ANSI compatible C code and can be used with standard compilers such as Borland C++, Microsoft C, Turbo C++, Turbo C, and Zortech C++.

Sequiter Software Inc
#209,9644-54 Ave.
Edmonton, AB, Canada T6E-5V1
403-437-2410

------------------------------------------------------------

Software Science makes a product called Topaz. This is a set of access libraries for dBase files. They provide both Pascal and C++ versions. The Pascal version comes with complete source code which allows you to compile it for the target platform of your choice. My guess is that the C++ version does too. You can reach Software Science at (415) 697-0411, or send email to Max Weinryb [70401,1147].

------------------------------------------------------------

PRO-C Lite (code generator) comes with PRO-dbx for accessing Xbase files. Currently on sale for $99. GO PCVENB, forum 9

------------------------------------------------------------

Lib: 9 ADLDEM.EXE - Title: Demo of Apex Database Library for C

------------------------------------------------------------

COMMERCIAL C/C++ LIBRARIES FOR DBASE (FROM PROGRAMMERS SHOP CAT):

- AccSys for dBase, Copia International (C, VBasic)
- CodeBase 4.5, Sequiter Software (C/C++)
- SoftC Database Library, SoftC (C)
- TesSeRact File Management, Innovative Data Concepts (C)
- Topaz for C++, Software Science (in beta) (C/C++)

There may be other examples of dBase libraries for C in the Borland C forum GO BORLAND If you can get hold of a magazine called Databased Advisor, they advertise _lots_ of Xbase libraries in there. The magazine also sponsors a forum: GO DBA There is an active section on database programming using C/C++ in this forum.

===================================================

In the Borland C/DOS (GO BCPPDOS) forum, LIB 5, there are some non-supported libraries of C functions that allow access to dBASE files from C. I believe that SoftC is now a commercial product, but these old shareware versions are still available for download:

SOFTC2.EXE/Bin Bytes: 143663, Count: 440, 22-Nov-89
Title : SoftC database library version 1.10
Keywords: SOFTC DBASE DATABASE INDEX FILE

SoftC Database Library v1.10 by K. Schumann. Self-extracting library provides over seventy functions for fully compatible access to dBASE IV data files and dBASE III data, memo, and index files, as well as date and time string manipulation. EXE file contains complete documentation (including 136 page manual), header file, two demo programs, and small memory model libraries. Also fixes for nine problems and 24 new functions in this version. Shareware.

SCD113.EXE/Bin Bytes: 125312, Count: 329, 12-Apr-90
Title : SoftC Database Library v1.13
Keywords: SOFTC SHAREWARE DBASE UPDATE

SoftC Database Library v 1.13 by SoftC, Ltd. Self-extracting shareware library provides over 70 functions for fully compatible access to dBASE IV data files and dBASE III data, memo, and index files, as well as date and time string manipulation. EXE file contains complete documentation, header files, two demo programs, and small memory model libraries for Turbo and Microsoft C. Fixes for 4 problems included. Registered users receive printed manual.

SOFTC2.ZIP/Bin Bytes: 313088, Count: 812, 17-Aug-90
Title : SoftC Database Library v2.0
Keywords: SOFTC SHAREWARE DBASE UPDATE C TURBOC CLIPPER FOXBASE

SoftC Database Library v2.0 by SoftC, Ltd. Library provides over 120 functions for fully compatible access to dBASE3/FoxBASE/Clipper data, memo, and index files, as well as support for LANs and disk I/O caching. File contains complete documentation, header files, demo programs, Norton Guide, and small memory model libs for Turbo and Microsoft C. Registered users receive a printed manual.



[Home] [FAQ Index]