Hallo HeelX,
your code seems to be all right, I pretend you have to download the "zlib.dll" and include it to your project. The resource_xx dlls only work with existing zlib dlls.

Regards
Sinthoras