Mail Archives: djgpp/1997/09/07/09:33:04
Hermann Strijewski (herman AT sprynet DOT com) wrote:
: Is there a library or functions that I can use with DJGPP to access FoxPRO
: (preferred) or dBASE data files and, if possible their index files?
: Ideally I'd like to read and WRITE data into these files.
Search for dbase32c.zip file on the internet. It is a C-source for accesing
dBASE files (no index usage). But You will have to change a few lines in it
to work in DJGPP since it was written for 16-bit BC and MSC. Actually those
lines are a part of the header structure of dBASE file. In original source
it says int (which is the same as DJGPP's short), and you put short instead
(I think it is 2 or 3 lines).
P.S. But changing all 'int' to 'short' in those source files would make your
code significantly slower!
--
// E-mail: smikecin AT bigfoot DOT com
// URL: http://fly.cc.fer.hr/~sime
- Raw text -