----- Original Message -----
From: Eric Siu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 1999 2:29 AM
Subject: Re: bus error


> > > 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 ?

You are possibly stomping on memory somewhere else in your program, freeing
memory that you did not allocate, or something along those lines.  This
small section of code, taken alone, shouldn't fail in this way.

- Robert

Reply via email to