Do I need to free the memory associated to a CharPtr if its assigned to the
form title? Or does the form free the title memory for me?
i.e.
CharPtr MyCharPtr;
FormPtr MyForm;
MyForm = FrmInitForm(MyFormID);
MyCharPtr = MemPtrNew(StrLen("Some Title")+1);
StrCopy(MyCharPtr,"Some Title");
FrmSetTitle(MyForm,MyCharPtr);
FrmDoDialog(MyForm);
MemPtrFree(MyCharPtr); // Does this need to be done?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html