You can read the crc like this (classes section):
//ckr = bit_read_CRC(dat);
bit_check_CRC(dat, dwg->header.section[1].address + 16, 0xC0C1);
The function will read the crc but the comparison will fail due to an
error in the function:
Just flip the bytes of one crc and the two crc are the same!
The magic thing is the bit_check_CRC functions parameter "seed" which
must be in most sections 0xC0C1
but 0 in the SectionLocator!
Am 16.09.2010 00:34, schrieb Ivan:
2010/9/15 Till Heuschmann<[email protected]>:
What version are you talking of?
Sorry...
I tried dwg R13, R14 and R15
Bye