> > > atually, I am a new deleloper of Palm program. How to check the
> > > MenPtrNew() ?
> > 
> >   line[i] = MemPtrNew(14);
> >   if (line[i] != NULL) {
> >     StrCopy(...)
> >   } 
> 
> the error happen when excuting the line[i] = MemPtrNew(14);
> is there not enough memory ?

  i would have thought that if there was no memory, it would return NULL.
  you are not dealing with anything 'large' so you should not be 
  out of memory.. :( maybe out of heap space?

  it should return NULL, but check the references (PDF docs).

az. 
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

Reply via email to