TxtH = FldGetTextHandle( fldP );
if ( TxtH )
MemHandleFree( TxtH );
Is how I've been doing it for some time now, and it's
worked pretty well. Perhaps you're nesting the call in a
function that is actually causing the problem?
-Rus
>-----Original Message-----
>From: Tim Astle [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 05, 2000 9:06 AM
>To: Palm Developer Forum
>Subject: handle question - please help
>
>
>Okay, this is probably a stupid question, but I'd like an
>answer nontheless
>:-)
>
>Is the following an adequate way of telling whether or not a
>handle has been
>freed?
>
>if(handle != NULL)
> MemHandleFree(handle);
>
>The reason I'm asking this is because I'm trying to free text
>handles in a
>table upon exiting of the form. I'm not sure if the form is
>freeing them
>for me or not. I can't seem to find any information on this.
>This is the
>error I'm getting:
>
>MemoryMgrNew.c, Line:4177, FreeHandle
>
>I believe this could only appear if I'm trying to free
>something that has
>already been freed or a locked handle.
>
>
>Timothy D. Astle
>
>People on Jolt cola write the funniest things.
>
> A-10 Obedience Guide,
> Kitty Hawk Studios
>
>
>
>--
>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/