>MemPtrResize(string, sizeof(char *) * CurrentNumberofStrings + 
>sizeof(char *));
>string[CurrentNumberofStrings] = (char *)MemPtrNew(StrLen(ptr) + 1);  //

Check the values of CurrentNumberofStrings and the resize value 
(sizeof(char *) * CurrentNumberofStrings + sizeof(char *)) before 
calling MemPtrResize to make sure they're valid values.

Regards,
Steve Mann
-- 
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
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