HomeSearchContact UsForum

Home arrow U arrow unzip32.dll
unzip32.dll PDF Print E-mail
Click here to run a free scan for dll/ocx related errors
Monday, 19 November 2007
File name: unzip32.dll
File size: 63.3 KB
Downloads: 1064

Info-ZIP's UnZip DLL for Win32

Version:5.4

Performance Scan: Run a FREE Performance Scan( free scan for dll related errors )


» Download unzip32.dll

Comments (2)Add Comment
...
written by DRICA, March 17, 2008
sorry , but I think it is very complicate this program end a didn't undertand what your fuction.
...
written by Florian, March 30, 2008
Quoted "Chris Eastwood":
The InfoZip DLL's are open-source DLL's that are available for programmers to utilise free of charge. They are standard C DLL's and were very tricky/impossible to interface with VB until VB5/6 offered the 'addressof' operator.

I based this code on the Zip/Unzip examples that come with the downloadable DLL's and encapsulated that code into re-usable class modules that can either be used in an ActiveX DLL, or just placed into your project as required. The downloadable project contains the source-code for an ActiveX DLL called CGZipLibrary and a sample project which uses that DLL.

The example program simply takes everything in it's own directory and zip's it into a file.

You can then unzip this file straight into the TEMP directory. You can check the structure of the Zip file using WinZip (or similar) if you want to check that the Zip is intact (I've had no problems with it at all).

The Class Modules CGZipFiles and CGUnzipFiles have a lot of properties - it's worth reading through the code in these classes to learn how to get the best from them.

A sample piece of code using the Zip class could be as simple as :




Dim oZip as CGZipFiles

set oZip = new CGZipFiles

oZip.ZipFileName = "MyZip.Zip"
oZip.AddFile "c:mystuffmyfiles*.*"
oZip.AddFile "c:mystuffmymedia*.wav"

If oZip.MakeZipFile 0 then
MsgBox oZip.GetLastMessage
End If

set oZip = nothing

'
The code for Unzipping files is just as straight-forward :



Dim oUnZip as CGUnZipFiles

set oUnZip = new CGUnZipFiles

oUnZip.ZipFileName = "MyZip.Zip"
oUnZip.ExtractDir = App.Path ' or whatever you like !
oUnZip.HonourDirectories = true ' keep dir structure
If oUnZip.UnZip 0 then
MsgBox oUnZip.GetLastMessage
End If

set oUnZip = nothing

'
Note : This code is provided as-is - I know that there are a few bugs in the interface to the Zip/Unzip DLL's (including a frustrating one that's got a real cludge work around - see if you can spot it). It's designed as a starting point to allow you to use Zip and Unzip functionality in your programs. You should really place the Zip32.DLL and Unzip32.DLL into your windowssystem directory (although you can just have them in the same directory as the ActiveX DLL)
I've been a version of this code for several weeks in a production application and it's just been superb.


Hope that helpful.For more information:
http://www.cdrom.com/pub/infozip/

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

Copyright 2007. All Rights Reserved.
busy
 
< Prev   Next >
how to register dll:

After you download "*.Dll" on your machine,copy it to windows/system32/, go to "start" ==> "run" and type "regsvr32\*.dll" to register the file to the system.

Related Items