News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Zip library for Asm?

Started by AParsons, May 13, 2012, 01:44:24 AM

Previous topic - Next topic

AParsons

Hi,

I wanted to zip up some files using assembly language. But I am not sure what library to use. Has anyone else programmed a zip app?

I did think about the inbuilt zip function of windows, but I wanted my program to be self sufficient.

Any help would be great.
Cheers.

jj2007

I use FreeArc for MasmBasic's ZipFiles & UnZipFiles commands. The commandline options are really convenient for that purpose. If you want to avoid commandlines, it becomes trickier. There are various DLLs around, but accessing them is not so easy...

%ProgramFiles%\FreeArc\bin\Arc.exe -dp#d# x #a#
%ProgramFiles%\FreeArc\bin\Arc.exe create -mx #a# @

sinsi

Light travels faster than sound, that's why some people seem bright until you hear them.

AParsons

Thanks guys, I appreciate your help.

I did actually think it would be easier to write in C# but that would create a big, fat bloated pig of a binary.

Assembly is just so much faster and neater.

hutch--

AP,

Have a look at Jibz's aPlib library, its written in C but it does work well and you can link it directly into an executable.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php