Hi All, Just had a nightmare support call.
A hotel in Sweden somehow ended up with a 4Gb DBF. I've got a tool I've developed over the years (written in fox) for recovering corrupt dbfs. It reads the structure using fopen() etc and tries to recreate it. I suppose it's a bit like the old foxfix. But because the file was 4Gb+ fopen() fails... The hex editor I normally use reads the whole file in one chunk, so working on such a large file is out of the question. So I hacked a small C program together to copy out the first few meg and I could see some fields in the header were trashed. I managed to recover the DBF by copying the first 1000 or so bytes from a good DBF and appending the next 500 meg from the corrupt copy . Then my little program could do its stuff. What I really could have done with is a decent hex editor that can work with large files. Any ideas? To make matters worse this is an large installation and the corrupt DBF is the main transaction database. They have been using our sw since 1995, but the data starts from 2004 (I guess they did a purge). Sales & payments for a 120 room hotel since 2004 is pretty big.. Maybe I should write one myself in c#. Been needing a good reason to learn the language. -- Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

