assign NULL value to the pointer after u allocate
that should sove ur problem
Regards
Ajit
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Laor,
Boaz
Sent: Thursday, March 01, 2001 12:58 AM
To: Palm Developer Forum
Subject: char pointer intialization
I am trying to allocate space for a char pointer by doing
tagString = (CharPtr)MemPtrNew(128L);
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?
boaz
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/