Hi Iulia > PrefSetAppPreferences (appFileCreator, appPrefID, appPrefVersionNum, > &prefs, sizeof (char*), true); I don't think that's what you want exactly. sizeof (char*) will return the size of a character pointer, which is not the same as the length of the string contained at the pointer's address. Use "StrLen(autoText)+1" in place of "sizeof (char*)", and that should sort you out. Regards John Sutton
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
