I've seen this type of error occur most often in my early code, where I
would take a string from a database and put it in a label. If the label was
too short for the string (yes, I learned that lesson quick!), not only would
the buffer overrun, but it would do so silently. It would become visible
because the overwrite would in some manner damage the form elements
following the label in memory, causing them to be inaccessible, and
generating this error message.

Howard
----- Original Message -----
From: "Fergal Moran" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 9:53 AM
Subject: RE: Object not in form (but it is!!!)


> > From: Richard Burmeister [mailto:[EMAIL PROTECTED]]
> > "Object not in form" is most often caused by attempting to refer to an
> > object in the "current form" without verifying what form that
> > actually is.
> > The safe way to get a pointer to an object on a form
> <snip>
>
> Thanks for the response Richard - unfortunately that was not the error as
I
> use that method to get my form pointers already (thanks to a previous post
> by you on the subject actually).  I have sorted it out now - but have no
> idea how.
>
> After an awful lot of head-scratching - I decided there was something very
> wierd wrong with my device - so I did a hard reset - reinstalled my
> application and it works fine now.
>
> Go figure!!
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to