Symbian
Symbian OS Library

FAQ-0979 What support does Symbian OS provide for file compression in v6.x?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Application Engines
Created: 02/13/2004 Modified: 02/13/2004
Number: FAQ-0979
Platform: Symbian OS v6.0, Symbian OS v6.1

Question:
Support is available from Symbian OS v7.0 for decompression of zip files based on a version of the zlib utility. What are the corresponding capabilities on v6.x?

Answer:
The headers and binaries for zlib have been made available on Symbian OS v6.x SDKs, albeit that they are not strictly a public API. The decompression functionality provided by zlib is made through the higher-level CZipFile and related classes, which should be used for this purpose from v7.0. However, the lower-level zlib library is usable on v6.x, albeit not officially supported (so no guarantees are provided about forward compatibility of code). The one caveat here is that the header files for zlib have been omitted from most Series 60 SDKs (although not from 9200 Series SDKs). For completeness, the full set of ezlib header files which need to be installed into \epoc32\include is attached below.