You need to set up a buffer for the name. I think you are trying to copy the entire name into a single character. There's a maximum name size in one of the headers. I'm too lazy to look it up, but you need to allocate your buffer that big.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
