I don't know. I use malloc instead. And I don't have EVC in my hand now so I can't try. Just check where you allocate the array, if in local data section, then check the WinCE system and the compiler's reference for maximum length for local data section. Or you allocate it in global heap, then check if there is enough space for it. Just try.