Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - DBF format C++ question
Hopefully this post isn't too off topic. I'm attempting to write some *.dbf (dBase III/IV, FoxPro, etc. database files) functions and was wondering if anyone knew why the 8th and 9th bytes (Which point to the record starting offset/end of the header section) would be (apparently) correct in some files and not in others. The file versions are all 0xC(dBase IV w/ memo) Yet, two of the three are off by 80 and 161 bytes. The files are not corrupted (They read fine in MS Excel and other database programs. Am I missing something? Anyone who has experience with this and can reply, thanks, or if you know a more appropriate forum, please tell me, the closest I could come was the clipper forum. I'm using the latest dm compiler, 32 bit dos program. Jun 28 2002
I have no idea, but why would you try to code this kind of stuff? http://www.sequiter.com/ Jan "E. Trelmar" wrote:Hopefully this post isn't too off topic. I'm attempting to write some *.dbf (dBase III/IV, FoxPro, etc. database files) functions and was wondering if anyone knew why the 8th and 9th bytes (Which point to the record starting offset/end of the header section) would be (apparently) correct in some files and not in others. The file versions are all 0xC(dBase IV w/ memo) Yet, two of the three are off by 80 and 161 bytes. The files are not corrupted (They read fine in MS Excel and other database programs. Am I missing something? Anyone who has experience with this and can reply, thanks, or if you know a more appropriate forum, please tell me, the closest I could come was the clipper forum. I'm using the latest dm compiler, 32 bit dos program. Jun 28 2002
In article <3D1CDAB1.949671FD smartsoft.cc>, Jan Knepper says...I have no idea, but why would you try to code this kind of stuff? http://www.sequiter.com/ Jan "E. Trelmar" wrote:Hopefully this post isn't too off topic. I'm attempting to write some *.dbf (dBase III/IV, FoxPro, etc. database files) functions and was wondering if anyone knew why the 8th and 9th bytes (Which point to the record starting offset/end of the header section) would be (apparently) correct in some files and not in others. The file versions are all 0xC(dBase IV w/ memo) Yet, two of the three are off by 80 and 161 bytes. The files are not corrupted (They read fine in MS Excel and other database programs. Am I missing something? Anyone who has experience with this and can reply, thanks, or if you know a more appropriate forum, please tell me, the closest I could come was the clipper forum. I'm using the latest dm compiler, 32 bit dos program. Jun 28 2002
I have no idea, but why would you try to code this kind of stuff? http://www.sequiter.com/ Jun 28 2002
|