Visual FoxPro
Visual FoxPro
Compute CRC32 of a File
Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.Chilkat Visual FoxPro Downloads
LOCAL loZipCrc
LOCAL lnCrc
LOCAL lcHexStr
loZipCrc = CreateObject('Chilkat.ZipCrc')
* Use a relative for absolute path to the file..
lnCrc = loZipCrc.FileCrc("qa_data/hamlet.xml")
lcHexStr = loZipCrc.ToHex(lnCrc)
? lcHexStr
RELEASE loZipCrc