Delphi IDE (89)
Windows with Delphi (280)
Visual Basic (1)
New related comments
Number of comments in the last 48 hours
The meaning of Runtime Error 217
Are 2 files identical? Do a 32bit CRC sum..
3 comments. Current rating: (2 votes). Leave comments and/ or rate it.
To determine, whether 2 files are identical, I first would compare their sizes.
If they are identical, I would calculate a 32bit CRC sum for each of them and compare the results.
Someone asked me:
Answer: No, a CRC might even tell you where the difference was (if the files are really that short).
function ComputeFileCRC32(const FileName : string): LongInt;
Since the polynome table is rather long, you may download the pascal file: crc32.zip (2.2kB).