Hi People,
One of my recent programming adventures has taken an interesting turn with the discovery of the ZLIB.dll in all of its mystical wonders. If I could get my current DBPro project to pricess .gz archives (which I believe are compressed & decompressed via Zlib.dll), my project would explode with awesomeness.
But before I start re-inventing the wheel, has anyone got any code, plugins or general hints & tips that may assist with this task? So far, I've started investigating the zlib128-dll.zip download, which contains zlib1.dll and some manuals.
A few questions on such 3rd Party DLL's;
If my DBPro application calls functions from this DLL, then I'm assuming I'll have to ship this DLL everywhere my EXE goes. Although I believe the ZLIB.dll is free to share as such, alternatively, is it possible to host the Zlib.dll under;
C:\Program Files (x86)\The Game Creators\Dark Basic Professional Online\Compiler\plugins-user
Where it will then compile into my executable? How would I gear this second method to work?
Any help will be greatly appreciated! Oh, and yes, I have searched these forums extensively, but I only found some broken & abandoned plugins, along with general chit-chat about devs wanting to protect their IP. I also started looking at examples of zlib.dll with VB6, but thought I best ask here first before getting lost...
My main goal here is to open .gz archives, read the file within, then compress them back to .gz.
EDIT: I'm going to try following this tutorial;
http://edais.mvps.org/Tutorials/ZLib/index.html
Although I fear that I'm in over my head!
EDIT: Argh, the plot thickens! My favourite Zip program, 7Zip, allows the use & distribution of the 7z.DLL. I think I might try talking to this first via my DBPro program, as I haven't found any way to ease into ZLib.dll