> cL[i] = MemPtrNew(StrLen(ReadRecord(className, i) + 1)); file://remeber to > free > StrCopy( cL[i] , ReadRecord(className,i));
You have to check that the pointer returned by MemPtrNew is not NULL, which can happen when memory is running low. The problem occurs only with your real device probably because it have less heap space than your emulator session. Pascal -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
