Adam wrote:
> Eric wrote:
>
> > is it possible to take a checksum of parts or even whole of the
> > code? if possible, I can prevent my code get corrupt.
>
> Checksums might detect corruption, but will not prevent it.
Especially if the code that performs the checksum gets corrupted.
I'm curious as to what corruption problems Eric is running across. Applications
are stored in the storage heap, which is protected from all but the most
malicious programs from corruption. And no checksum scheme will protect against
that.
In other words, unless you're really paranoid, I don't see that a checksum
scheme will provide any better protection than what's already built into the OS.
-- Keith
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/