There’s also a discussion at this topic
That includes a link to a source class for using the zlib dll