203 if( !psDBF->bNoHeader )
206 psDBF->bNoHeader =
FALSE;
223 abyHeader[8] = (
unsigned char) (psDBF->nHeaderLength % 256);
224 abyHeader[9] = (
unsigned char) (psDBF->nHeaderLength / 256);
226 abyHeader[10] = (
unsigned char) (psDBF->nRecordLength % 256);
227 abyHeader[11] = (
unsigned char) (psDBF->nRecordLength / 256);
229 abyHeader[29] = (
unsigned char) (psDBF->iLanguageDriver);
235 psDBF->sHooks.FSeek( psDBF->fp, 0, 0 );
237 psDBF->sHooks.FWrite( psDBF->pszHeader,
XBASE_FLDHDR_SZ, psDBF->nFields,
243 if( psDBF->nHeaderLength > 32*psDBF->nFields + 32 )
248 psDBF->sHooks.FWrite( &cNewline, 1, 1, psDBF->fp );