How to CRC32 check own executable?
Posted: Sat Aug 21, 2010 11:52 am
I'm a little bit confused right now how to manage this. I mean when I use something like this:
...The check is obviously incorrect but when I try to add the correct checksum of this code the real checksum is different again (also obvious because the code has changed).
Does anyone have an idea how this is usually done?
Code: Select all
If CRC32FileFingerprint(ProgramFilename()) = $00000000 ; $F6C91970
MessageRequester("CRC32 Check", "Correct!")
Else
MessageRequester("CRC32 Check", "Incorrect!")
EndIfDoes anyone have an idea how this is usually done?