How much memory should I allocate to a string when converting from a UInt32
or UInt16 using StrIToA?  Should I just hardcode in a certain number of
bytes or is there a programmatic way of determining how many bytes I should
allocate?

example:
static void SomeFunction (Uint32 int; char* str)
{
str = MemPtrNew(???);
StrIToA (str, int);
.
.
.
}
Thanks,
Dave


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to