> I just got an error where, after a StrCopy, the > destination char * array looked like: > > my new string/0the old string/0/0/0 > > I thought StrCopy cleared out the destination char * > array first? If I'm doing it wrong, what's the right way?
One way could be to use MemSet to clear the contents before using the StrCopy Err MemSet (void* dstP, Int32 numBytes, UInt8 value) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
