From: Daniel Berger Date: 2008-12-22T16:07:46+09:00 Subject: Re: Pure Ruby Zlib::GzipWriter On Dec 21, 10:59 pm, The Higgs bozo wrote: > Daniel Berger wrote: > > On Dec 21, 5:16 pm, The Higgs bozo wrote: > >> file, decode it, then call it with DL or FFI? > > I'm not really sure how to do that, and it's not really what I'm > > looking for I'm afraid. > > You didn't know how, or didn't understand?  DL is part of the standard > library.  You could carry around the zlib dll right inside an .rb file, > and use DL to call the zlib function(s) you needed. Just to clarify for purposes of the bounty, no DL, and no distributed dll's. > I understand you were looking for a general-purpose solution, but in the > meantime this does what you need, albeit gymnastically.  Namely, zlib on > Windows without the requirement of building a ruby extension. I really do appreciate the suggestion but it's not what I'm looking for. Regards, Dan