[futurebasic] Re: [FB] Unalterable Text Resources?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: jonathan <jonnnathan@...>
Date: Tue, 16 Nov 1999 20:40:44 +0100
le 16/11/99 20:11, tedd à tedd@... a écrit :

> Hi gang:
> This is what I want to do and am asking for a way to do it.
> I want to have the TEXT resources remain unchanged in my application. In
> other words, I don't want my application to run if someone has altered its
> TEXT resources.
> Anyone have any ideas, or code, as to how to do "evaluate" TEXT resouces?

Create a checksum:
for example. add the vlaue of all the chars in your text but in an integer
(ie. each time you go over the top - don't worry). then compare this value
to what it should be. A variation would be doing this on every 3rd or 8th

(conTEXTual gnome)