anti-cracking library 1.0

PECheckSum_Win32 function
Performs a checksum of exe file and compares it to checksum stored in file.

Anti-unpacking functions

function PECheckSum_Win32(const FileName: string):boolean;

Computes checksum of FileName by using Windows API an compares it to checksum stored in ImagePEHeader.OptionalHeader.CheckSum. Returns true if checksums are equal.

Delphi compiler doesn't set the CheckSum variable. You have to set it with another program. ACLib comes with a small program called Checksum which will set the correct CheckSum in file.