Re: Writing Binary Files with TFileStream



You are writing l (or ELL) as a longInt (4 bytes) and reading it as a
byte. This throws the indexing of the whole filestream out.

Decide which it is <g>.

Alan Lloyd

.