one BIG source of problems we've seen in trashing forms is changing text
strings in form objects, esp. with category popups and such... for
instance, if you have a popup trigger with the name 'Category' in
constructor and use a StrCopy to copy the current categoy name into the
popup trigger's label pointer, and the current category name is longer than
StrLen("Category") you'll write off the end of the structure and into other
form objects. Make sense?

Just remember that most everything on Palm is dynamic and tighlty packed,
and all of those little off-by-a-byte problems can really wreck memory.


Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293




>You've probably trashed memory and overwritten the form object.  Try
>running in Poser with all the debug checks turned on -- Poser will stop
>immediately if you overrun allocated memory and you'll be able to debug the
>real problem.
>
>                               --Bob



Reply via email to