I'm using the ARM-ported syszlib.prc (71k) for uncompressing some data in my 
application. It works fine on a T|E and T|T3 I've tested, but for some reason, 
on the Tungsten T it is unable to load the library. I'm using the recommended 
(?) ZLSetup and ZLTeardown macros defined in SysZLib.h. On the T|T, ZLibRef is 
returned as "37390" and consequently, ZLibuncompress does nothing. On the 
others, ZLibRef returns "5" or "6" and uncompresses correctly.

What am I doing wrong here? And why the inconsistency between models? I thought 
at first it could be a RAM/dynamic heap problem, but I've tested it on the 
simulator with lowest RAM/heap possible without problems. I'm using the 
pnojpeglib in the same application without problems on the T|T.

I really wish Justin Clark who did a fantastic job porting zlib to ARM would 
have done an equally great job at documenting it.
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to