I'm afraid I have deleted the code example, but the reasonfor the blow up is the 
StrNCopy is not terminating the string (I think it
behaves like the UNIX strncpy in this case).  Your StrLen later can't find the end of 
the string and the program goes south ...

Try:

pListBoxEntry[wPos] = '\0';

immediately after the StrNCopy


Chris Olson



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

Reply via email to