Sample code for 30+ languages & platforms
Visual FoxPro

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL loCrypt
LOCAL lcFilePath
LOCAL lnCrc32
LOCAL lnCrc8

loCrypt = CreateObject('Chilkat.Crypt2')

lcFilePath = "c:/temp/someFile.dat"

lnCrc32 = loCrypt.CrcFile("crc-32",lcFilePath)
? STR(lnCrc32)

lnCrc8 = loCrypt.CrcFile("crc8",lcFilePath)
? STR(lnCrc8)

RELEASE loCrypt