Donald,
>The problem seemed to come from "#define MAXCODE (1 << MAXCODELEN) ". >Although, that does not seem to be as large as I initially thought? MAXCODE would be 4096 by my reckoning, so you'd have 32K consumed by just the codes array within codeTable_ since each CEntry needs 8 bytes to hold the 4 integers. You should just dynamically allocate the 32K at runtime using MemPtrNew (or MemHandleNew) then change all references to codeTable_ to reference that pointer. Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
