Check the packing/alignment of records/fields.
Delphi by default will align fields on 4 byte boundaries.
I suspect B/Pascal will by default align on word/2 byte boundaries.
Myles.
> -----Original Message-----
> From: Jerermy Coulter [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 14, 2000 10:39 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Delphi & B/Pascal issue ??
>
> Hi all.
> We are just making a wee interface in delphi that reads a file that is a
> "File of TMyRecord".
> This file is generated and populated by a B/Pascal DOS app.
> BUT we are finding we are having problems with the data once we read the
> file and the data ind Delphi (3).
>
> Is this a common thing that others have had ?
> If so, IS there are work around we can do in Delphi etc. ??
>
> Cheers,
>
>
> Jeremy Coulter (Software Development Team Leader)
> Triton Commercial Systems
> 6A Burdale Street
> Riccarton
> Christchurch
> * +64 3 3483973 Fax +64 3 3431613
> <http://www.tritoncomsys.com/>
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz