Contents 

SlavaSoft FastCRC Library Online Help

Prev Page Next Page
FastCRC Library Type Library

The following sample demonstrates how to use the FastCRC Type Library to calculate the CRC16C checksum for a string.

Visual Basic Example

Private Sub MyButton_Click()

   Dim checksum As Long

   'Calculate the checksum
   checksum = FCRC16C_CalculateStr("Hello World!")

   'Show the hexadecimal representation of the checksum
   MsgBox FCRC_LongToHex16(checksum, True)

End Sub

 

 

Type Library Overview   |   Type Library Functions   |   Useful Links   |   HashCalc


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about FastCRC Library