StrNCopy does not put a null at the end of the destination string, you need to put one yourself or StrLen will fail depending on the following memory.
-- Regis St-Gelais www.laubrass.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
