Also, extended has 10 bytes, which may cause misaligned data issues.
By using double and longint (both are multiples of 4 bytes) you make
sure everything will be perfectly aligned.

Maybe fpc 2.2.0 changed the alignment of data on structures to
optimize for platforms which have problems with data alignment. Using
packed as stated by Giuliano should allow the data to be read, but you
should consider updating your format.

-- 
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to