> is there any limitation in array size? > i get fatal alert when running my program, > my array is : > Char* membersArray[1200]; > > im using CW 8.0 SDK 5...
hmm.. sizeof(Char *) = 4 then, 4 * 1200 = 4800 - your stack size is 4096 bytes. do the math how about doing: Char **membersArray; membersArray = (Char **)MemPtrNew(1200 * sizeof(Char *)); ... MemPtrFree(membersArray); then, you'll only use 4 bytes of stack space. and the other bit will go in the dynamic heap (plenty of space there, compared :)) --- Aaron Ardiri [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php [profile] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
