The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Beshr on August 23, 2006, 07:08:47 AM

Title: A question about Zip files
Post by: Beshr on August 23, 2006, 07:08:47 AM
hello all!
i just was wondering if there is any way that i can create a zip file or Rar or arj (any kind of compressed files) in masm32 Code.

I mean is there a code for that!!

thx all

:( :(
Title: Re: A question about Zip files
Post by: Draakie on August 23, 2006, 11:19:13 AM
Howdy Beshr,

Not code that I saw lying around - but how about starting your'e project off
by having a look at http://www.wotsit.org/search.asp?s=archive. Looks like
this might steer you in the right direction.

Hope it helps
Draakie's hubby  :U
Title: Re: A question about Zip files
Post by: sluggy on August 23, 2006, 11:23:03 AM
Rather than reinventing the wheel, you could just use the command line functionality of the already existing compression utilities like WinRAR and WinZip. As an exmaple, see this website: http://www.winzip.com/prodpagecl.htm.

Title: Re: A question about Zip files
Post by: Beshr on August 23, 2006, 12:58:57 PM
thanx dudes
Title: Re: A question about Zip files
Post by: P1 on August 23, 2006, 01:42:45 PM
Beshr,

Welcome Aboard !!!    :U

Please read forum rules.

Make good use or tutorials and help files.

Google is friend for finding answers the quickest way.

Please don't cross post topic across sub-forums.

Regards,  P1  :8)

Title: Re: A question about Zip files
Post by: Eddy on August 23, 2006, 02:30:25 PM
If you don't mind using a dll, you can use zlib.dll . ( http://www.zlib.net/ ).
Following thread has a file 'PNGExample.zip' that uses zlib.dll :
http://www.masm32.com/board/index.php?topic=4266.0

Or here:
http://www.masm32.com/board/index.php?topic=3803.0

Here's another one with 'unzip32.dll':
http://www.masm32.com/board/index.php?topic=4687.0

Or you can search for 'zlib' yourself ... :wink

Kind regards
Eddy
www.devotechs.com
HIME - Huge Integer Math and Encryption library

Title: Re: A question about Zip files
Post by: ToutEnMasm on August 23, 2006, 02:36:05 PM
Hello,
There is a search box on the top of this site.
Type ZIP and you find further samples of code for using winzip.
                                        ToutEnMasm

error it's                         zip
http://www.masm32.com/board/index.php?topic=4687.msg34913#msg34913