Looks to me like you haven't initialised the doubleStr pointer.

Either declare it as;
char doubleStr[MAXIMUM_LENGTH_OF_RETURNED_DOUBLE+1];

Or, before you call GetStringFromDouble;
doubleStr=MemPtrNew(MAXIMUM_LENGTH_OF_RETURNED_DOUBLE+1);

If you use the second option, when you're done with it, don't forget to call;
MemPtrFree(doubleStr);

Regards
John

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 07/12/2006 
13:31
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to