NewsArchive
11-07-2006, 05:16 AM
Hi Friedrich
Not important, but I am wondering why there is a difference in two CRC values.
I see that SB5 reports the CRC32 of the files in the setup package.
I have built a small app to calculate the CRC32 value of a file I include.
My app uses the built in CW6.3 CRC32 function.
I read the whole file into a string, check its length is correct, then pass it to the
SV CRC32 function.
There is a difference in the two values calculated for the same file...
From SB5 I get 35,499,341
From the CW app, I get 967,552,063
Is this difference to be expected?
Is it just that two different CRC32 libraries may be used?
Thanks
John Griffiths
Not important, but I am wondering why there is a difference in two CRC values.
I see that SB5 reports the CRC32 of the files in the setup package.
I have built a small app to calculate the CRC32 value of a file I include.
My app uses the built in CW6.3 CRC32 function.
I read the whole file into a string, check its length is correct, then pass it to the
SV CRC32 function.
There is a difference in the two values calculated for the same file...
From SB5 I get 35,499,341
From the CW app, I get 967,552,063
Is this difference to be expected?
Is it just that two different CRC32 libraries may be used?
Thanks
John Griffiths