your Intel description is a little off, possibly because your sample number
only had 7 digits.

68K:  0x01234567 stored as 01 23 45 67
Intel:  0x01234567 stored as 67 45 23 01


----- Original Message -----
From: Thomas Engelmeier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 02, 2000 2:04 AM
Subject: Mac PDB format


> >Does anybody know of anything you have to do different when creating a
PDB
> >file on the Mac instead of on the PC?
>
> In the PDB writing code, you have to change the byte order of all long and
> short values..
> On a Mac, the value 0x1234567 in memory is represented as 0x1234567, on an
> Wintel machine as 0x7563412. (or was it 0x5671234??) If you dump a
> "correct" structure to disk, it will be unusuable on "the other" platform
> without byte orde swapping..
>
> Regards,
>              Tom_E
>
>
> --
> Thomas Engelmeier
> EFax: +1 (603) 925-3111
>
>
>
>

Reply via email to