> Correct, but beware!  Allocating only sizeof(Int32) bytes for the buffer
> evidently represents a misunderstanding: it happens to be enough to edit
> the value 89, but it won't be enough for a general Int32 value.  The safe
> size to use is "maxStrIToALen".  See Palm OS documentation on StrIToA.

> > > strH = MemHandleNew (sizeof (Int32));

an int32 is 4 bytes :) so, as soon as his 'number' goes more than 3 digits,
he'll be in trouble *g* it would have been fun to let him scratch his head
about that wouldn't it? :P

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.com/


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

Reply via email to