Good Day!!
I am a newbie in palm OS programming..
How should i deal with this run time error?
"memorymgr.c, Line:3752, Free ptr"
my code snippet..
=========================================================
if(num>1)
{
for(i=0;i<num-1;i++)
{
ReadPtr1[i]=(Char *)MemPtrNew(48);
StrCopy(ReadPtr1[i],data[i]);
}
}
ReadPtr1[num-1]=(Char *)MemPtrNew(48);
StrCopy(ReadPtr1[num-1],DataPtr);
data[num-1] = ReadPtr1[num-1];
LstSetListChoices (list,ReadPtr1,num);
======================================================
this is what i do to dynamically update my list.
How can i free the allocatted memory?
Can anyone share your idea..
Thanks.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/