CheckSum

Mark Smith mark at maseurope.net
Sat Jun 17 07:07:07 EDT 2006


I think that when the executable starts up, it's loaded into memory  
leaving the executable file on disk unchanged, and you can then do  
something like:

put the fileName of this stack into tFileName
put the md5Digest of URL ("file:" & tFileName) into curDigest

and then compare curDigest to a stored version.

This is not tested!
There are probably 'bootstrapping' issues (if you want to store your  
'correct' md5Digest in the executable itself) and I can see that  
there might be issues if you've saved your standalone with substacks  
in separate files etc...

Best,

Mark

On 17 Jun 2006, at 11:53, Mark Schonewille wrote:

> Hi Camm29,
>
> I don't know what whill happen if you try to read the executable  
> while it is running already, but you can try calculating the  
> md5digest each time when the application starts up.
>
> Best,
>
> Mark
>
> --
>
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Download ErrorLib at http://economy-x-talk.com/developers.html and  
> get full control of error handling in Revolution.
>
>
>
> Op 17-jun-2006, om 12:50 heeft Camm29 het volgende geschreven:
>
>> Is there a way to protect Application.exe using some sort of  
>> Checksum to prevent any changes ?
>>
>> Regards
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list