char *PalmOS = NULL;
Very wrong! You must allocate enough memory for the character buffer before you write to it:
char PalmOS[maxStrIToALen];
There is a constant maxStrIToALen that tells you how long the maximum buffer size must be. Look into the API.
Regards, Alexander.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
