If the field is editable, you want to use FldSetTextHandle, not field set
text pointer.  A pointer can be resized while a handle cannot.  A point of
reference: if you lock down a handle or pointer, you must unlock it.  Being
new to the environment, I recommend running gremlins early and often to spot
leaks.

Elia

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 07, 1999 1:10 PM
To: [EMAIL PROTECTED]
Subject: Palm OS Memory Mgmt



I'm new to Palm programming and trying to get the hang of it.  I'm
especially concerned about memory issues and how to make sure there are no
leaks in this low  memory situation of the Palm.  I've been working on a
little test app and am using (I believe this is correct... Don't have docs
right here) FldSetFieldTextPtr (or similar) to change the text of the
field.  Who owns the memory at this point?  My app or the OS?  What about
the memory that was being referred to previously?

Thanks,
Craig

Craig Setera
AS/400 Enterprise Java Development
IBM Rochester
[EMAIL PROTECTED]
(507) 253-3387 - Tie: 553-3387




Reply via email to