Contents 

SlavaSoft FastCRC Library Online Help

Prev Page Next Page
FastCRC Library Type Library

FCRC16C_CalculateStr

long FCRC16C_CalculateStr( [ in , string ] unsigned char* pSrc );

Return value

The checksum.

Parameters

 pSrc

    [in] A null-terminated string for which to calculate the checksum.

Remarks

Calculates the checksum for the null-terminated string specified by pSrc.

VB 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

 

See Also    FCRC16C_Calculate, FCRC16C_CalculateFile, FCRC_LongToHex16


 

 

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