Jump to content

DbfLIB: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 26: Line 26:
* Commercial - Discontinued
* Commercial - Discontinued


==Links==
* [https://web.archive.org/web/20040209215520/http://dsoftusa.com/bc5.htm Using dbfLIB with Borland C++ 5.] - A page explaining how you can use the library with newer Borland C++ and CBuilder compiler.
==Author==
==Author==
* [[dSOFT]]
* [[dSOFT]]
==API==
This is a list of the calls the dbfLIB dll/library accept, they are listed here simply as a reference for those that may have the library but not the handbook.
<pre>
  DbfAppend                DbfDeleteAll            DbfRecall
  DbfAppendFrom            DbfDeleted              DbfRecallAll
  DbfAppendMultiple        DbfFlushWrite            DbfReccount
  DbfBottom                DbfGetDatabaseType      DbfRecno
  DbfClearRecBuf            DbfGo                    DbfRefresh
  DbfClipperLock            DbfHandle                DbfSeek
  DbfClose                  DbfLocate                DbfSeekNoPad
  DbfCloseAll              DbfLock                  DbfSetDeleted
  DbfCopyTo                DbfMarkAll              DbfSkip
  DbfCreate                DbfName                  DbfSort
  DbfCreateExtended        DbfNSeek                DbfSoundex
  DbfCreateFile            DbfOpen                  DbfTop
  DbfCreateFromExtended    DbfPack                  DbfUnlock
  DbfCreateFromFile        DbfPackAndReindex        DbfUse
  DbfCreateFromHandle      DbfPadString            DbfWriteRec
  DbfDB4Lock                DbfQueryLock            DbfZap
  DbfDelete                DbfReadRec
  FldChangeName            FldReplaceDirect        FldRefDecimals
  FldCopy                  FldReplaceDate          FldRefPtr
  FldCopyAndPad            FldReplaceNum            FldRefReplace
  FldCopyDate              FldReplaceLog            FldRefReplaceCount
  FldCount                  FldType                  FldRefReplaceDirect
  FldDecimals              FldTrue                  FldRefReplaceDate
  FldName                  FldWidth                FldRefReplaceNum
  FldNRef                  FldValue                FldRefReplaceLog
  FldPtr                    FldRefChangeName        FldRefType
  FldRef                    FldRefCopy              FldRefTrue
  FldReplace                FldRefCopyAndPad        FldRefWidth
  FldReplaceCount          FldRefCopyDate          FldRefValue
  IndexBottom              IndexOpen                IndexGetCurrent
  IndexClose                IndexReindex            IndexSetCurrent
  IndexCloseAll            IndexSkip                IndexKeyExpression
  IndexCreate              IndexTop                IndexKey
  IndexKeyLen              IndexType
  MemoAllocBuffer          MemoFreeBuffer          MemoRead
  MemoBufferSize            MemoLen                  MemoReadFilter
  MemoDelete                MemoPointer              MemoWrite
  MemoExist
  GetMemoFilter            GetDefaultLockType      SetPadding
  SetMemoFilter            GetDateFormat            GetAutoPack
  GetDefaultBlockSize      GetPadding              SetAutoPack
  SetDefaultBlockSize      SetCentury              GetDbfOpenMode
  GetMemoBlockSize          SetDefaultLockType      SetDbfOpenMode
  GetCentury                SetDateFormat
  CvtAsciiToDouble          CvtCharToDate            CvtDateToIndex
  CvtCharReplace            CvtDateToChar            CvtDoubleToAscii
</pre>


[[Category:Tools]][[Category:DOS Tools]][[Category:MS Windows Tools]][[Category:C]][[Category:C++]][[Category:xBase]][[Category:Databases]]
[[Category:Tools]][[Category:DOS Tools]][[Category:MS Windows Tools]][[Category:C]][[Category:C++]][[Category:xBase]][[Category:Databases]]

Revision as of 20:43, 9 January 2015

Description

A multi-platform C library that allowed you to work with xBase database, index and memo files from your C program, shipped as a compiled library that had explicit support for DOS and 16 and 32 bit versions of both OS/2 and MS Windows. The company later introduced a C++ version of the library called dbfLIB++ that was shipped free with the C version of the library, and when the market for dBase related products started cooling down around the turn of the century the company responded by lowering the prices of the product and offering the package in a source code form which opened up the possibility to use the library with other operating systems.

File format support

  • DBF (dBASE, Clipper, Foxpro database)
  • DBT (dBASE, Clipper memo fields)
  • FPT (Foxpro memo fields)
  • NDX (dBASE index)
  • NTX (Clipper index)

Version

  • Last known version: v.3.1 for OS/2 and MS Windows.

Compiler support for v.3.1

  • Microsoft C Version 6.0a (DOS & OS/2 1.x)
  • Microsoft Visual C++ 1.5x (Windows 3.1)
  • Microsoft Visual C++ 2.x (Windows 95/NT)
  • Microsoft Visual C++ 4.x (Windows 95/NT)
  • Borland C++ (DOS, Windows 3.1)
  • MetaWare High C/C++ (OS/2 Warp)
  • IBM CSet++ (OS/2 2.x & Warp)
  • IBM VisualAge C++ (OS/2 Warp)
  • Watcom C/C++ 10.x (DOS, Windows 3.1, OS/2 1.x, OS/2 2.x, OS/2 Warp, Windows 95/NT)

License

  • Commercial - Discontinued

Links

Author

API

This is a list of the calls the dbfLIB dll/library accept, they are listed here simply as a reference for those that may have the library but not the handbook.

   DbfAppend                 DbfDeleteAll             DbfRecall
   DbfAppendFrom             DbfDeleted               DbfRecallAll
   DbfAppendMultiple         DbfFlushWrite            DbfReccount
   DbfBottom                 DbfGetDatabaseType       DbfRecno
   DbfClearRecBuf            DbfGo                    DbfRefresh
   DbfClipperLock            DbfHandle                DbfSeek
   DbfClose                  DbfLocate                DbfSeekNoPad
   DbfCloseAll               DbfLock                  DbfSetDeleted
   DbfCopyTo                 DbfMarkAll               DbfSkip
   DbfCreate                 DbfName                  DbfSort
   DbfCreateExtended         DbfNSeek                 DbfSoundex
   DbfCreateFile             DbfOpen                  DbfTop
   DbfCreateFromExtended     DbfPack                  DbfUnlock
   DbfCreateFromFile         DbfPackAndReindex        DbfUse
   DbfCreateFromHandle       DbfPadString             DbfWriteRec
   DbfDB4Lock                DbfQueryLock             DbfZap
   DbfDelete                 DbfReadRec

   FldChangeName             FldReplaceDirect         FldRefDecimals
   FldCopy                   FldReplaceDate           FldRefPtr
   FldCopyAndPad             FldReplaceNum            FldRefReplace
   FldCopyDate               FldReplaceLog            FldRefReplaceCount
   FldCount                  FldType                  FldRefReplaceDirect
   FldDecimals               FldTrue                  FldRefReplaceDate
   FldName                   FldWidth                 FldRefReplaceNum
   FldNRef                   FldValue                 FldRefReplaceLog
   FldPtr                    FldRefChangeName         FldRefType
   FldRef                    FldRefCopy               FldRefTrue
   FldReplace                FldRefCopyAndPad         FldRefWidth
   FldReplaceCount           FldRefCopyDate           FldRefValue

   IndexBottom               IndexOpen                IndexGetCurrent
   IndexClose                IndexReindex             IndexSetCurrent
   IndexCloseAll             IndexSkip                IndexKeyExpression
   IndexCreate               IndexTop                 IndexKey
   IndexKeyLen               IndexType

   MemoAllocBuffer           MemoFreeBuffer           MemoRead
   MemoBufferSize            MemoLen                  MemoReadFilter
   MemoDelete                MemoPointer              MemoWrite
   MemoExist

   GetMemoFilter             GetDefaultLockType       SetPadding
   SetMemoFilter             GetDateFormat            GetAutoPack
   GetDefaultBlockSize       GetPadding               SetAutoPack
   SetDefaultBlockSize       SetCentury               GetDbfOpenMode
   GetMemoBlockSize          SetDefaultLockType       SetDbfOpenMode
   GetCentury                SetDateFormat

   CvtAsciiToDouble          CvtCharToDate            CvtDateToIndex
   CvtCharReplace            CvtDateToChar            CvtDoubleToAscii