Here are an 16 bytes excerpt from the file:
01 00 80 00 01 00 20 00 00 00 69 09 89 09 00 00
My struct from which I cast data to is:
struct DataHeader
{
BYTE id1; //is 0x01
BYTE id2; //is 0x00
WORD type1; //is 0x0080
WORD type2; //is 0x0001
DWORD OffsetData; //supposed to be 0x00000020, but is 0x09690000
}
Somehow I get 0x09690000 instead of 0x00000020 as a value in OffsetData, so reading the first bytes and words right, but then the DWORD is offset by two bytes, why?