I've always swapped DWords to 04 03 02 01
Chris
On Fri, 24 Sep 1999 09:00:41 +0100 [EMAIL PROTECTED] wrote:
>
> How should double words be swapped, when converting from little-endian
> to big-endian? A DWord:
> 01 02 03 04
> should become:
> 04 03 02 01
> or should it become:
> 02 01 04 03
>
> I expected it to be the first case. But when building a pdb, I had to
> use the second case to convert the record localID. the LocalID type is
> typedefed onto a DWord on the DataMgrPrv.h header. To confuse me more,
> the creatorID and database type fall onto the first case. A DB type of
> 'data' must be swapped to 'atad'...
>
> I feel lost.
>
> --
> Sergio Carvalho
> ---------------
> [EMAIL PROTECTED]
>
> If at first you don't succeed, skydiving is not for you
This message sent using EMUmail. http://EmuMail.com