DLLCRC32File()

DLLCRC32File()
  • SYNOPSIS:
    crc32 = DLLCRC32File(sFileName$)
  • DESCRIPTION:
    Derives a CRC32 checksum from a given file. This is useful to check if the contents of the file has changed at all. If any single bit of information in the file changes, the checksum will be different. This command streams the file, so you can use any size file. However, it is a lot slower than DLLCRC32Bank().
  • PARAMETERS:
    sFileName$ The file on disk you wish to CRC.
  • RETURNS:
    A CRC 32bit checksum from the given file (or 0 if the file could not be opened). You may wish to check the file can be opened yourself with standard Blitz functions, to make absolutely sure.
  • EXAMPLE:
    See example022.bb
  • BUGS:
    None Known.
  • SEE ALSO:
    DLLCRC32Bank()

Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk

Section Last Updated: Sunday, February 3, 2002 10:24 AM GMT

All materials used in this help, related sources and binaries are (C)opyright Rob Hutchinson, Joseph Cox and Tarropithium Software 2002. All rights reserved. All software is provided without warranty unless otherwise stated.
Tarropithium Software or the authors will not be held liable for any damage or data loss that may occur during the application of this software. Use it at your own risk!