Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TWebUpdate
Calculating checksums of files

To calculate the checksum of a file to put in the WebUpdate .INF control file, the function CRC32ChecksumOfFile can be used that is available in the unit wucrc32.pas.
Add this unit to the uses clause and use code:
var
  checksum: integer;
begin
   checksum := CRC32ChecksumOfFile('myfile.ext');
end;