Here are a few easy questions I would appreciate if any of you could answer:
o When you quit a Palm program, what happens to the main form? Should it
be somehow deallocated from memory or will the OS (any version?) take care
of it?
o When I create a form pointer (say, for a modal dialog box) using
FrmInitForm(), when I close the dialog box, should I deallocate it from
memory (using FrmDeleteFrom())? What about form pointers created with
FrmGetActiveForm()? I assume this later I should not deallocate unless I
am quitting the proggie, right? =)
o Let's say I create a StrListPtr as follows (a bit of pseudocode):
StrListPtr pStringList;
MemPtr pTheString;
pStringList = MemHandleLock(hStringList);
pTheString = pStringList->firstString;
Now, let's say that down the line I get rid of hStringList:
MemHandleUnlock(hStringList);
DmReleaseResource(hStringList);
What happens to pStringList and pTheString?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/