> From: Laor, Boaz [mailto:[EMAIL PROTECTED]]
> I am trying to allocate space for a char pointer by doing
> tagString = (CharPtr)MemPtrNew(128L);
That line of code is fine.
> and as soon as i do that the tagString intializes to
> some value of a different char pointer instead of assiging
> new blank space. what is the cause of this?
Not sure what you mean. It allocates a new block of memory but that block
contains bytes that look like some other string instead of being zero?
That's no error. The memory manager just recycles previously freed memory
without zero filling it.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/