UNTGZ DLL
Dynamic library for Windows that will decompress `.tar.gz` and `.tgz` files.
I needed a DLL file that would decompress .tar.gz
files. I found the UnTGZ plug-in for NSIS and it fit my needs perfectly ... well, perfectly except for the fact that it needed NSIS.
Luckily, they supplied the source code and I then modified it to remove all NSIS-related things. I also removed some of the other code that reports errors, and slightly altered the exported functions.
All hail open source!
To run it, you just use the untgz()
function.
untgz(char *path_to_tgz_file, char *output_directory);
Download
- untgz-dll.zip - Source code for the DLL.
- untgz-dll-upx.zip - A compiled DLL that has also been UPX compressed for the tiniest version available.