Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dylib (libz) access and use?



> > could anyone explain, or give a pointer that'll explain, how to go
> > about making use of a dylib, specifically libz.dylib in /usr/lib
> > please? i wish to use it to decompress some data that's in flate
> > compression. how do i technically allow my code to make use of it? and
> > how do i find out what its commands / functions are and the formats it
> > expects and can handle?

> Just add the library to your project, then you can use the functions in
> <zlib.h>.

> IIRC, the header file is heavily documented. Additional information is
> at:
> http://www.gzip.org/zlib/

You need to add the library and the header file /usr/include/zlib.h to
your project. Just pick the functions out of the header.

Bill Northcott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.