Subversion Repositories Kolibri OS

Compare Revisions

No changes between revisions

Regard whitespace Rev 6724 → Rev 6725

/programs/fs/unzip60/windll/Contents
0,0 → 1,96
Contents of the "windll" subdirectory for UnZip 6.0 and later:
 
Contents this file
decs.h Exported function declarations.
structs.h header file, used by both the DLL and by calling applications,
defines the structures used in the DLL interface
unziplib.def definition file for 32-bit UnZip library
windll16.def definition file for 16-bit UnZip DLL
windll32.def definition file for 32-bit UnZip DLL
windllgcc.def definition file for 32-bit UnZip DLL, variant for GCC tools
windll_lc.def definition file for 32-bit UnZip DLL, variant for LCC tools
windll.c contains the entry point for the DLL, "fake" printing,
sound, rename, replace and password functions
windll.h header file for both 16- and 32-bit DLLs
windll.rc resource file for both 16- and 32-bit DLLs
windll.txt simplistic explanation of how to use DLL
uzexampl.c a very simplistic example of how to load the DLL and make
a call into it
uzexampl.h header file for uzexampl.c
 
guisfx\ directory with GUI frontend for SFX stub
dialog.h interface declarations to dialog definition
sfxw.ico icon graphic (binary file!)
sfxwiz.c main source module for SFX stub
sfxwiz.dlg dialog window definitions
sfxwiz.rc resourses for GUISFX stub
sfxwiz16.mak makefile for 16-bit GUISFX stub (Borland C++ 4.52)
unzsfx16.def linker definition file for 16-bit unzipsfx static library
 
csharp\ example files for using the Visual C++ DLL with C# under the
.NET framework 1.1
vb\ example files for using the Visual C++ DLL with Visual Basic
 
vc5\dll\ directory with DLL project for Visual C++ 5.0
vc5\exampl\ directory with dll usage example project for Visual C++ 5.0
vc5\lib\ directory with LIB project for Visual C++ 5.0
vc5\sfx\ directory with SFX project files for Visual C++ 5.0
SFXWiz32.dsp MS Visual C++ 5.0 project file for 32-bit GUISFX stub
SFXWiz32.dsw MS Visual C++ 5.0 workspace file for 32-bit GUISFX stub
unzsfx32.dsp MS Visual C++ 5.0 project for 32-bit sfxunzip static lib
vc5\
unzip32.dsw MS Visual C++ 5.0 workspace file for all windll projects
 
vc6\dll\ directory with DLL project for Visual C++ 6.0
vc6\exampl\ directory with dll usage example project for Visual C++ 6.0
vc6\lib\ directory with LIB project for Visual C++ 6.0
vc6\sfx\ directory with SFX project files for Visual C++ 6.0
SFXWiz32.dsp MS Visual C++ 6.0 project file for 32-bit GUISFX stub
SFXWiz32.dsw MS Visual C++ 6.0 workspace file for 32-bit GUISFX stub
unzsfx32.dsp MS Visual C++ 6.0 project for 32-bit sfxunzip static lib
vc6\
unzip32.dsw MS Visual C++ 6.0 workspace file for all windll projects
 
vc8\dll\ directory with DLL project for Visual C++ 2005 (VC++ 8.0)
vc8\exampl\ directory with dll usage example project for Visual C++ 2005
vc8\lib\ directory with LIB project for Visual C++ 2005 (VC++ 8.0)
vc8\sfx\ directory with SFX project files for Visual Studio 8
SFXWiz32.sln MS Visual C++ 2005 solution file for 32-bit GUISFX stub
SFXWiz32.vcproj MS Visual C++ 2005 project file for 32-bit GUISFX stub
unzsfx32.vcproj MS Visual C++ 2005 project for 32-bit sfxunzip static lib
vc8\
unzip32.sln MS Visual C++ 2005 solution file for all windll projects
 
 
The source file uzexampl.c contains a short example showing how to call the
Win32 UnZip DLL from C. This code should work with all C compiler environments
that allow to build a >>working<< unzip32.dll binary. This has been verified
with Microsoft Visual C++ (Version 6.0 [1998] and 8.0 [2005]) as well as the
free MinGW GCC compiler implementation. The example code is a simple
console application that calls the UnZip dll to extract files from a Zip
archive. The code assumes that the unzip32.dll binary is available somewhere
on the execution path.
 
If you want to build the UnZip DLL, the WinDLL usage example, or the WinGUI SFX
stub from the command line, you may use the MSC Makefile supplied in the
subdirectory of the Win32 command line port.
 
In the default setup, the UnZip DLL is linked against the shared C runtime
dll. This configuration is most feasible for multi-module C/C++ based
programs. For usage with non-C projects (e.g. Visual Basic 5/6 or MS .NET
managed code), a statically linked UnZip DLL might be more appropiate.
Both the Visual Studio projects and the MSC Makefile in the win32/ subdir
support statically linked builds through specific configurations (VC projects)
or a configuration switch (for details look into ../win32/Makefile).
 
Note that Borland C++ 5.0 is full of bugs; version 4.5 or 5.01 is recommended
instead. If you must use Borland C++ 5.0, using the Intel optimizing compiler
is required to avoid crashes (possibly due to a bug in the stat() function in
the normal Borland compiler). This does have the advantage of giving you a
smaller code size than the 4.52 compiler. Borland C++ 5.01 has resolved many
of the problems seen with 5.0 and can be used reliably.
The UnZip DLL and SFXWiz have been successfully built with Borland C++ 5.5.1
from the command line. However, we do not currently have the resources to
supply project files for the Borland IDE environment (C Builder 5.x - 6.x).
For compilation with Borland C++, please use the appropiate targets supplied
with the Borland Makefile in the Win32 subdirectory.
/programs/fs/unzip60/windll/csharp/App.ico
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programs/fs/unzip60/windll/csharp/AssemblyInfo.cs
0,0 → 1,58
using System.Reflection;
using System.Runtime.CompilerServices;
 
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
 
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
 
[assembly: AssemblyVersion("1.0.*")]
 
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]
/programs/fs/unzip60/windll/csharp/CSharpInfoZip_UnZipSample.csproj
0,0 → 1,153
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{D08B77ED-BEAD-4AF0-81B4-6F1CB998273C}"
>
<Build>
<Settings
ApplicationIcon = "App.ico"
AssemblyKeyContainerName = ""
AssemblyName = "CSharpInfoZip_UnZipSample"
AssemblyOriginatorKeyFile = ""
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "WinExe"
PreBuildEvent = ""
PostBuildEvent = ""
RootNamespace = "CSharpInfoZip_UnZipSample"
RunPostBuildEvent = "OnBuildSuccess"
StartupObject = ""
>
<Config
Name = "Debug"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "DEBUG;TRACE"
DocumentationFile = ""
DebugSymbols = "true"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "false"
OutputPath = "bin\Debug\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
<Config
Name = "Release"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "TRACE"
DocumentationFile = ""
DebugSymbols = "false"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "true"
OutputPath = "bin\Release\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
</Settings>
<References>
<Reference
Name = "System"
AssemblyName = "System"
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
/>
<Reference
Name = "System.Data"
AssemblyName = "System.Data"
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
/>
<Reference
Name = "System.Drawing"
AssemblyName = "System.Drawing"
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll"
/>
<Reference
Name = "System.Windows.Forms"
AssemblyName = "System.Windows.Forms"
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Windows.Forms.dll"
/>
<Reference
Name = "System.XML"
AssemblyName = "System.XML"
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
/>
</References>
</Build>
<Files>
<Include>
<File
RelPath = "App.ico"
BuildAction = "Content"
/>
<File
RelPath = "AssemblyInfo.cs"
BuildAction = "Compile"
/>
<File
RelPath = "Form1.cs"
SubType = "Form"
BuildAction = "Compile"
/>
<File
RelPath = "Form1.resx"
DependentUpon = "Form1.cs"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "frmShowContents.cs"
SubType = "Form"
BuildAction = "Compile"
/>
<File
RelPath = "frmShowContents.resx"
DependentUpon = "frmShowContents.cs"
BuildAction = "EmbeddedResource"
/>
<File
RelPath = "Unzip.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "UnZipDLLPrintMessageEventArgs.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "UnZipDLLServiceMessageEventArgs.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "ZipFileEntries.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "ZipFileEntry.cs"
SubType = "Code"
BuildAction = "Compile"
/>
</Include>
</Files>
</CSHARP>
</VisualStudioProject>
 
/programs/fs/unzip60/windll/csharp/Form1.cs
0,0 → 1,322
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnUnzipArchive;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label lblProgress;
private System.Windows.Forms.ProgressBar prgBar;
 
//Define the Unzip object
Unzip m_Unzip = new Unzip();
private ulong m_CurrentSize;
private System.Windows.Forms.Button btnListZipFiles;
private CheckBox chkOverwriteAll;
 
 
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
 
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
 
//
// TODO: Add any constructor code after InitializeComponent call
//
}
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
 
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btnUnzipArchive = new System.Windows.Forms.Button();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.lblProgress = new System.Windows.Forms.Label();
this.prgBar = new System.Windows.Forms.ProgressBar();
this.btnListZipFiles = new System.Windows.Forms.Button();
this.chkOverwriteAll = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// btnUnzipArchive
//
this.btnUnzipArchive.Location = new System.Drawing.Point(8, 24);
this.btnUnzipArchive.Name = "btnUnzipArchive";
this.btnUnzipArchive.Size = new System.Drawing.Size(96, 24);
this.btnUnzipArchive.TabIndex = 0;
this.btnUnzipArchive.Text = "Unzip archive...";
this.btnUnzipArchive.Click += new System.EventHandler(this.btnUnzipArchive_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(184, 16);
this.label1.TabIndex = 1;
this.label1.Text = "Unzip DLL Print callback message:";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(8, 80);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.Size = new System.Drawing.Size(464, 120);
this.textBox1.TabIndex = 2;
//
// lblProgress
//
this.lblProgress.Location = new System.Drawing.Point(8, 208);
this.lblProgress.Name = "lblProgress";
this.lblProgress.Size = new System.Drawing.Size(216, 16);
this.lblProgress.TabIndex = 3;
//
// prgBar
//
this.prgBar.Location = new System.Drawing.Point(8, 224);
this.prgBar.Name = "prgBar";
this.prgBar.Size = new System.Drawing.Size(216, 16);
this.prgBar.TabIndex = 4;
//
// btnListZipFiles
//
this.btnListZipFiles.Location = new System.Drawing.Point(120, 24);
this.btnListZipFiles.Name = "btnListZipFiles";
this.btnListZipFiles.Size = new System.Drawing.Size(96, 24);
this.btnListZipFiles.TabIndex = 5;
this.btnListZipFiles.Text = "List zip files...";
this.btnListZipFiles.Click += new System.EventHandler(this.btnListZipFiles_Click);
//
// chkOverwriteAll
//
this.chkOverwriteAll.AutoSize = true;
this.chkOverwriteAll.Location = new System.Drawing.Point(255, 29);
this.chkOverwriteAll.Name = "chkOverwriteAll";
this.chkOverwriteAll.Size = new System.Drawing.Size(177, 17);
this.chkOverwriteAll.TabIndex = 6;
this.chkOverwriteAll.Text = "Overwrite all files without prompt";
this.chkOverwriteAll.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(480, 254);
this.Controls.Add(this.chkOverwriteAll);
this.Controls.Add(this.btnListZipFiles);
this.Controls.Add(this.prgBar);
this.Controls.Add(this.lblProgress);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnUnzipArchive);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
 
}
#endregion
 
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
 
#region Event Handlers
 
private void btnUnzipArchive_Click(object sender, System.EventArgs e)
{
openFileDialog1.ShowDialog();
string file = openFileDialog1.FileName;
 
if (file == null | file == string.Empty) return;
 
//Clear the DLL messages output area
m_CurrentSize = 0;
prgBar.Value = prgBar.Minimum;
lblProgress.Text = "";
textBox1.Text = "";
 
//Instantiate the Unzip object
m_Unzip = new Unzip();
 
//NOTE:
//There are many unzip options. This sample just demonstrates basic unzip options.
//Consult the InfoZip documentation for more option information.
 
//Set the Unzip object properties
m_Unzip.ZipFileName = file;
m_Unzip.HonorDirectories = HonorDirectoriesEnum.True;
m_Unzip.ExtractOrList = ExtractOrListEnum.Extract;
 
//This option sets the DLL to display only the archive comment and
//then exit immediately.
//m_Unzip.DisplayComment = DisplayCommentEnum.True;
 
//This option switches the DLL into "verbose ZipInfo" mode. The
//DLL extracts nothing, but instead prints out a verbose technical list
//of the content of the Zip archive central directory.
//This option works now, but gets terribly slow when applied to archives
//with a large number of entries.
//m_Unzip.VerboseZI = VerboseZIEnum.True;
 
if (chkOverwriteAll.Checked)
{
m_Unzip.OverWriteFiles = OverWriteFilesEnum.True;
m_Unzip.PromptToOverWrite = PromptToOverWriteEnum.NotRequired;
}
else
{
m_Unzip.OverWriteFiles = OverWriteFilesEnum.False;
m_Unzip.PromptToOverWrite = PromptToOverWriteEnum.Required;
}
 
//NOTE:
//Directory where the unzipped files are stored. Change this as appropriate
m_Unzip.ExtractDirectory = @"c:\temp\unzip";
 
//Wire the event handlers to receive the events from the Unzip class
m_Unzip.ReceivePrintMessage +=new UnZipDLLPrintMessageEventHandler(unZip_ReceivePrintMessage);
m_Unzip.ReceiveServiceMessage +=new UnZipDLLServiceMessageEventHandler(unZip_ReceiveServiceMessage);
 
//Unzip the files
int ret = m_Unzip.UnZipFiles();
 
//Examine the return code
MessageBox.Show("Done. Return Code: " + ret.ToString());
}
 
private void btnListZipFiles_Click(object sender, System.EventArgs e)
{
 
openFileDialog1.ShowDialog();
string file = openFileDialog1.FileName;
 
if (file == null | file == string.Empty) return;
 
//Clear the DLL messages output area
prgBar.Value = prgBar.Minimum;
lblProgress.Text = "";
textBox1.Text = "";
 
//Instantiate the Unzip object
m_Unzip = new Unzip();
 
//NOTE:
//There are many unzip options. This sample just demonstrates basic unzip options.
//Consult the InfoZip documentation for more option information.
 
//Set the Unzip object properties
m_Unzip.ZipFileName = file;
m_Unzip.HonorDirectories = HonorDirectoriesEnum.True;
m_Unzip.ExtractOrList = ExtractOrListEnum.ListContents;
 
//Wire the event handlers to receive the events from the Unzip class
m_Unzip.ReceivePrintMessage +=new UnZipDLLPrintMessageEventHandler(unZip_ReceivePrintMessage);
m_Unzip.ReceiveServiceMessage +=new UnZipDLLServiceMessageEventHandler(unZip_ReceiveServiceMessage);
 
//Unzip the files
ZipFileEntries zfes = m_Unzip.GetZipFileContents();
 
//Show the file contents
frmShowContents frm = new frmShowContents();
frm.UnzippedFileCollection = zfes;
 
//WORK AROUND:
frm.Comment = m_Unzip.GetZipFileComment();
 
frm.ShowDialog(this);
 
//Examine the return code
MessageBox.Show("Done.");
 
}
 
private void unZip_ReceivePrintMessage(object sender, UnZipDLLPrintMessageEventArgs e)
{
textBox1.Text += e.PrintMessage.Replace("\n", Environment.NewLine);
Application.DoEvents();
}
 
private int unZip_ReceiveServiceMessage(object sender, UnZipDLLServiceMessageEventArgs e)
{
m_CurrentSize += e.SizeOfFileEntry;
prgBar.Value = Convert.ToInt32(100 * Convert.ToDouble(m_CurrentSize)
/ Convert.ToDouble(e.ZipFileSize));
lblProgress.Text = "Unzipping " + m_CurrentSize.ToString("N0") + " of " +
e.ZipFileSize.ToString("N0") + " bytes.";
Application.DoEvents();
 
return 0;
}
 
#endregion
 
 
 
}
}
/programs/fs/unzip60/windll/csharp/Form1.resx
0,0 → 1,202
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
 
Version 1.3
 
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
 
Example:
 
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
 
There are any number of "resheader" rows that contain simple
name/value pairs.
 
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
 
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
 
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
 
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="btnUnzipArchive.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="btnUnzipArchive.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="btnUnzipArchive.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="openFileDialog1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="openFileDialog1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="openFileDialog1.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="textBox1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="textBox1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="textBox1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProgress.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="lblProgress.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lblProgress.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="prgBar.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="prgBar.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="prgBar.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="btnListZipFiles.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="btnListZipFiles.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="btnListZipFiles.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOverwriteAll.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="chkOverwriteAll.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="chkOverwriteAll.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.Name">
<value>Form1</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>
/programs/fs/unzip60/windll/csharp/ReadMeCS.txt
0,0 → 1,57
On Windows open this file in WordPad.
 
Contents of the "windll/csharp" sub-archive
 
This directory contains Visual C Sharp (C#) sample project for
using the unzip32.dll library. This project was generously donated
by Adrian Maull. The Zip source archive contains a corresponding
project for using the zip32.dll library.
 
These sample projects are distributed as part of the Info-ZIP distribution
under the Info-ZIP license.
 
Note that the files may be saved in "UNIX LF" format with carriage returns
stripped. These may need to be restored before the project can be successfully
used.
 
The project is based on .NET Framework 1.1. It was contributed
to the Info-Zip project April 2005. If you have questions or comments,
contact us at www.Info-ZIP.org or for specific questions about these
projects contact Adrian Maull directly at adrian.maull@sprintpcs.com.
 
See UnZip.cs for more detailed information about the project. Currently
the sample project has some bugs as noted in the above file.
 
The original code has been adapted to the modified WinDLL interface of
UnZip 6, using Visual C# 2005 (.Net Framework 2.0) and a unzip32.dll compiled
by Visual C++ 6.0. The provided project file is still in the format for
Visual Studio 7.1 (VS .Net 2003, .Net 1.1). But the code of the project
can be used with newer Visual Studio versions (2005 = 8.0 or 2008 = 9.0);
only the project file gets (irreversibly) converted to the newer Visual
Studio format when first opened.
 
However, this project is not tested throughoutly by us at this time.
 
Note on using Visual Studio C# 2005, 2008 (or newer?):
The UnZip maintainer was unsuccessful to run the C# sample code using
Visual Studio 2005 or 2008 together with an unzip32.dll compiled with
the same Visual Studio version in default configuration (unzip32.dll linked
against the DLL version of the C runtime library). The C# program failed
to load the unzip32.dll because of an "OS loader lock" conflict. This conflict
should only show up when loading "mixed mode" dll that contain both managed
and unmanaged code. So, it cannot be caused by the "pure native code"
unzip32.dll directly, which contains nothing dangerous in its DLLMain()
function. It seems to be caused by the new "side-by-side" C runtime dlls
(msvcr80.dll or msvcr90.dll being loaded multiple times by a .NET application
that uses msvcr??-linked native dlls).
To fix this issue, one of the following work-arounds could be used:
a) use an unzip32.dll that was linked against the system msvcrt.dll (the
"old" MSVC 6.0 runtime) that is a core system component of all Windows
versions from Windows 98/Windows ME and Windows 2000 and newer (at least
up to Windows Vista/Windows Server 2008),
or
b) use a statically linked variant of unzip32.dll (see the option DLLSTANDALONE
in the MSC Makefile for Win32 executables, "win32/Makefile").
 
Ed Gordon, Christian Spieler
2009/01/17
/programs/fs/unzip60/windll/csharp/UnZipDLLPrintMessageEventArgs.cs
0,0 → 1,42
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for UnZipDLLPrintMessageEventArgs.
/// </summary>
public class UnZipDLLPrintMessageEventArgs : EventArgs
{
private string m_PrintMessage = string.Empty;
 
public UnZipDLLPrintMessageEventArgs(string msg)
{
m_PrintMessage = msg;
}
 
public string PrintMessage
{
get {return m_PrintMessage;}
}
}
}
/programs/fs/unzip60/windll/csharp/UnZipDLLServiceMessageEventArgs.cs
0,0 → 1,59
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for UnZipDLLServiceMessageEventArgs.
/// </summary>
public class UnZipDLLServiceMessageEventArgs
{
private ulong m_ZipFileSize = 0;
private ulong m_SizeOfFileEntry = 0;
private string m_FileEntryName = string.Empty;
 
//zipFileSize = Total size of the zip file
//fileEntryBytes - size of an individual file in the zip
//fileEntryName - name of an individual file in the zip
public UnZipDLLServiceMessageEventArgs(ulong zipFileSize, string fileEntryName, ulong fileEntryBytes)
{
m_ZipFileSize = zipFileSize;
m_SizeOfFileEntry = fileEntryBytes;
m_FileEntryName = fileEntryName;
}
 
public ulong ZipFileSize
{
get {return m_ZipFileSize;}
}
 
public ulong SizeOfFileEntry
{
get {return m_SizeOfFileEntry;}
}
 
public string FileEntryName
{
get {return m_FileEntryName;}
}
}
}
/programs/fs/unzip60/windll/csharp/Unzip.cs
0,0 → 1,791
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
#region KNOWN ISSUES
 
//_____________________________________________________________________________
//
//KNOWN ISSUES:
//From my testing I have encountered some issues
//
//1. I receive an error code from the Unzip32.dll when I try to retrieve the comment from the
// zip file. To display a comment you set the nzflag of the DCLIST structure = 1. In this
// implementation, just set the m_Unzip.ExtractList = ExtractListEnum.ListContents and
// m_Unzip.DisplayComment = DisplayCommentEnum.True
// I provided a work around to this in the GetZipFileComment() method.
//
// [CS, 2009-01-10:]
// The DisplayComment option works now. However, the work-around code to
// retrieve the zipfile comment using direct I/O has not yet been replaced
// by code using the UnZip DLL.
//
//2. I have not tested any password/encryption logic in this sample
//_____________________________________________________________________________
 
 
#endregion
 
using System;
using System.Security.Permissions;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using System.IO;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for Unzip.
/// </summary>
 
#region Public Enums
 
public enum ExtractOnlyNewerEnum {False, True};
public enum SpaceToUnderScoreEnum {False, True};
public enum PromptToOverWriteEnum {NotRequired, Required};
public enum QuietEnum {AllMessages, LessMessages, NoMessages};
public enum WriteStdOutEnum {False, True};
public enum TestZipEnum {False, True};
public enum ExtractOrListEnum {Extract, ListContents};
public enum FreshenExistingEnum {False, True};
public enum DisplayCommentEnum {False, True};
public enum HonorDirectoriesEnum {False, True};
public enum OverWriteFilesEnum {False, True};
public enum ConvertCR_CRLFEnum {False, True};
public enum VerboseZIEnum {False, True};
public enum UnixFileBackupEnum { False, True }
public enum CaseSensitivityEnum { True, False };
public enum RestoreTimeStampsEnum { All, FilesOnly, None };
public enum UTF8NameTranslationEnum { Automatic, EscapeNonASCII, Disabled };
public enum PrivilegeEnum {Default, ACL, Privilege};
public enum ReplaceFileOptionsEnum {ReplaceNo=100, ReplaceYes=102, ReplaceAll=103,
ReplaceNone=104, ReplaceRename=105};
 
 
#endregion
 
#region Event Delegates
 
public delegate void UnZipDLLPrintMessageEventHandler(object sender, UnZipDLLPrintMessageEventArgs e);
public delegate int UnZipDLLServiceMessageEventHandler(object sender, UnZipDLLServiceMessageEventArgs e);
 
#endregion
 
public class Unzip
{
public Unzip()
{
}
 
#region Constants
// Current version of the DCLIST interface structure, must be matched
// with the UZ_DCL_STRUCTVER constant as defined in the struct.h header
// from the UnZip WinDLL code.
private const uint uz_dcl_StructVer = 0x600;
#endregion
 
#region Private Vars
 
private ulong m_ZipFileSize;
private ulong m_ZipFileCount;
private int m_Stop;
private string m_ZipFileName;
private string m_ExtractionDirectory;
private string m_Password;
private string m_Comment;
private string [] m_FilesToUnzip = new string[0]; //Default
private string [] m_FilesToExclude = new string[0]; //Default
private ZipFileEntries m_ZipFileEntries = new ZipFileEntries();
private Encoding m_EncodingANSI = Encoding.Default;
 
private ExtractOnlyNewerEnum m_ExtractOnlyNewer;
private SpaceToUnderScoreEnum m_SpaceToUnderScore;
private PromptToOverWriteEnum m_PromptToOverWrite;
private QuietEnum m_Quiet;
private WriteStdOutEnum m_WriteStdOut;
private TestZipEnum m_TestZip;
private ExtractOrListEnum m_ExtractOrList;
private FreshenExistingEnum m_FreshenExisting;
private DisplayCommentEnum m_DisplayComment;
private HonorDirectoriesEnum m_HonorDirectories;
private OverWriteFilesEnum m_OverWriteFiles;
private ConvertCR_CRLFEnum m_ConvertCR_CRLF;
private VerboseZIEnum m_VerboseZI;
private UnixFileBackupEnum m_UnixFileBackup;
private CaseSensitivityEnum m_CaseSensitivity;
private RestoreTimeStampsEnum m_RestoreTimeStamps;
private UTF8NameTranslationEnum m_UTF8NameTranslation;
private PrivilegeEnum m_Privilege;
 
 
#endregion
 
#region Structures
 
// Callback Large String
protected struct UNZIPCBChar
{
[MarshalAs( UnmanagedType.ByValArray, SizeConst= 32000, ArraySubType = UnmanagedType.U1)]
public byte [] ch;
}
 
// Callback Small String (size of a filename buffer)
protected struct UNZIPCBCh
{
[MarshalAs( UnmanagedType.ByValArray, SizeConst= 260, ArraySubType = UnmanagedType.U1)]
public byte [] ch;
}
 
//UNZIP32.DLL DCLIST Structure
[ StructLayout( LayoutKind.Sequential )]
protected struct DCLIST
{
public uint StructVersID; // struct version id (= UZ_DCL_STRUCTVER)
public int ExtractOnlyNewer; //1 = Extract Only Newer/New, Else 0
public int SpaceToUnderscore; //1 = Convert Space To Underscore, Else 0
public int PromptToOverwrite; //1 = Prompt To Overwrite Required, Else 0
public int fQuiet; //2 = No Messages, 1 = Less, 0 = All
public int ncflag; //1 = Write To Stdout, Else 0
public int ntflag; //1 = Test Zip File, Else 0
public int nvflag; //0 = Extract, 1 = List Zip Contents
public int nfflag; //1 = Extract Only Newer Over Existing, Else 0
public int nzflag; //1 = Display Zip File Comment, Else 0
public int ndflag; //1 = Honor Directories, Else 0
public int noflag; //1 = Overwrite Files, Else 0
public int naflag; //1 = Convert CR To CRLF, Else 0
public int nZIflag; //1 = Zip Info Verbose, Else 0
public int B_flag; //1 = backup existing files
public int C_flag; //1 = Case Insensitivity, 0 = Case Sensitivity
public int D_flag; //controls restoration of timestamps
//0 = restore all timestamps (default)
//1 = skip restoration of timestamps for folders
// created on behalf of directory entries in the
// Zip archive
//2 = no restoration of timestamps; extracted files
// and dirs get stamped with current time */
public int U_flag; // controls UTF-8 filename coding support
//0 = automatic UTF-8 translation enabled (default)
//1 = recognize UTF-8 coded names, but all non-ASCII
// characters are "escaped" into "#Uxxxx"
//2 = UTF-8 support is disabled, filename handling
// works exactly as in previous UnZip versions */
public int fPrivilege; //1 = ACL, 2 = Privileges
public string Zip; //The Zip Filename To Extract Files
public string ExtractDir; //The Extraction Directory, NULL If Extracting To Current Dir
}
 
//UNZIP32.DLL Userfunctions Structure
[ StructLayout( LayoutKind.Sequential )]
protected struct USERFUNCTION
{
public UZDLLPrintCallback UZDLLPrnt; //Print function callback
public int UZDLLSND; //Not supported
public UZDLLReplaceCallback UZDLLREPLACE; //Replace function callback
public UZDLLPasswordCallback UZDLLPASSWORD; //Password function callback
// 64-bit versions
public UZReceiveDLLMessageCallback UZDLLMESSAGE; //Receive message callback
public UZDLLServiceCallback UZDLLSERVICE; //Service callback
// 32-bit versions (not used/needed here)
public UZReceiveDLLMsgCBck_32 UZDLLMESSAGE_I32; //Receive message callback
public UZDLLServiceCBck_32 UZDLLSERVICE_I32; //Service callback
public ulong TotalSizeComp; //Total Size Of Zip Archive
public ulong TotalSize; //Total Size Of All Files In Archive
public ulong NumMembers; //Total Number Of All Files In The Archive
public uint CompFactor; //Compression Factor
public short cchComment; //Flag If Archive Has A Comment!
}
 
#endregion
 
#region DLL Function Declares
 
//NOTE:
//This Assumes UNZIP32.DLL Is In Your \Windows\System Directory!
[DllImport("unzip32.dll", SetLastError=true)]
private static extern int Wiz_SingleEntryUnzip (int ifnc, string [] ifnv, int xfnc, string [] xfnv,
ref DCLIST dcl, ref USERFUNCTION Userf);
 
 
#endregion
 
#region Properties
 
public string Password
{
get {return m_Password;}
set {m_Password = value;}
}
 
public string Comment
{
get {return m_Comment;}
set {m_Comment = value;}
}
 
public ExtractOnlyNewerEnum ExtractOnlyNewer
{
get {return m_ExtractOnlyNewer;}
set {m_ExtractOnlyNewer = value;}
}
 
public SpaceToUnderScoreEnum SpaceToUnderScore
{
get {return m_SpaceToUnderScore;}
set {m_SpaceToUnderScore = value;}
}
 
public PromptToOverWriteEnum PromptToOverWrite
{
get {return m_PromptToOverWrite;}
set {m_PromptToOverWrite = value;}
}
 
public QuietEnum Quiet
{
get {return m_Quiet;}
set {m_Quiet = value;}
}
 
public WriteStdOutEnum WriteStdOut
{
get {return m_WriteStdOut;}
set {m_WriteStdOut = value;}
}
 
public TestZipEnum TestZip
{
get {return m_TestZip;}
set {m_TestZip = value;}
}
 
public ExtractOrListEnum ExtractOrList
{
get {return m_ExtractOrList;}
set {m_ExtractOrList = value;}
}
 
public FreshenExistingEnum FreshenExisting
{
get {return m_FreshenExisting;}
set {m_FreshenExisting = value;}
}
 
public DisplayCommentEnum DisplayComment
{
get {return m_DisplayComment;}
set {m_DisplayComment = value;}
}
 
public HonorDirectoriesEnum HonorDirectories
{
get {return m_HonorDirectories;}
set {m_HonorDirectories = value;}
}
 
public OverWriteFilesEnum OverWriteFiles
{
get {return m_OverWriteFiles;}
set {m_OverWriteFiles = value;}
}
 
public ConvertCR_CRLFEnum ConvertCR_CRLF
{
get {return m_ConvertCR_CRLF;}
set {m_ConvertCR_CRLF = value;}
}
 
public VerboseZIEnum VerboseZI
{
get {return m_VerboseZI;}
set {m_VerboseZI = value;}
}
 
public UnixFileBackupEnum UnixFileBackup
{
get { return m_UnixFileBackup; }
set { m_UnixFileBackup = value; }
}
 
public CaseSensitivityEnum CaseSensitivity
{
get {return m_CaseSensitivity;}
set {m_CaseSensitivity = value;}
}
 
public RestoreTimeStampsEnum RestoreTimeStamps
{
get { return m_RestoreTimeStamps; }
set { m_RestoreTimeStamps = value; }
}
 
public UTF8NameTranslationEnum UTF8NameTranslation
{
get { return m_UTF8NameTranslation; }
set { m_UTF8NameTranslation = value; }
}
 
public PrivilegeEnum Privilege
{
get {return m_Privilege;}
set {m_Privilege = value;}
}
 
public string ZipFileName
{
get {return m_ZipFileName;}
set {m_ZipFileName = value;}
}
 
public string ExtractDirectory
{
get {return m_ExtractionDirectory;}
set {m_ExtractionDirectory = value;}
}
 
public string [] FilesToUnzip
{
get {return m_FilesToUnzip;}
set {m_FilesToUnzip = value;}
}
 
public string [] FilesToExclude
{
get {return m_FilesToExclude;}
set {m_FilesToExclude = value;}
}
 
#endregion
 
#region UnZip DLL Delegates
 
//Callback For UNZIP32.DLL - Receive Message Function
protected delegate void UZReceiveDLLMessageCallback (ulong ucsize, ulong csiz,
ushort cfactor, ushort mo,
ushort dy, ushort yr, ushort hh, ushort mm, byte c,
[MarshalAs(UnmanagedType.LPStr)]String fname,
[MarshalAs(UnmanagedType.LPStr)]String meth,
uint crc, sbyte fCrypt);
 
//Callback For UNZIP32.DLL - Receive Message Function (no-Int64 variant, not used here)
protected delegate void UZReceiveDLLMsgCBck_32(uint ucsize_lo, uint ucsize_hi, uint csiz_lo, uint csiz_hi,
ushort cfactor, ushort mo,
ushort dy, ushort yr, ushort hh, ushort mm, byte c,
[MarshalAs(UnmanagedType.LPStr)]String fname,
[MarshalAs(UnmanagedType.LPStr)]String meth,
uint crc, sbyte fCrypt);
 
//Callback For UNZIP32.DLL - Print Message Function
protected delegate int UZDLLPrintCallback ([MarshalAs(UnmanagedType.LPStr)]String fname, uint x);
 
//Callback For UNZIP32.DLL - DLL Service Function
protected delegate int UZDLLServiceCallback([MarshalAs(UnmanagedType.LPStr)]String fname,
ulong ucsize);
 
//Callback For UNZIP32.DLL - DLL Service Function (no-Int64 variant, not used here)
protected delegate int UZDLLServiceCBck_32([MarshalAs(UnmanagedType.LPStr)]String fname,
uint ucsize_lo, uint ucsize_hi);
 
//Callback For UNZIP32.DLL - Password Function
protected delegate int UZDLLPasswordCallback(ref UNZIPCBCh pwd, int bufsize,
[MarshalAs(UnmanagedType.LPStr)]String msg,
[MarshalAs(UnmanagedType.LPStr)]String entryname);
 
//Callback For UNZIP32.DLL - Replace Function To Overwrite Files
protected delegate int UZDLLReplaceCallback(ref UNZIPCBCh fname, uint fnbufsiz);
 
#endregion
 
#region Events
 
public event UnZipDLLPrintMessageEventHandler ReceivePrintMessage;
public event UnZipDLLServiceMessageEventHandler ReceiveServiceMessage;
 
#endregion
 
#region Protected Functions
 
protected virtual void OnReceivePrintMessage (UnZipDLLPrintMessageEventArgs e)
{
if (ReceivePrintMessage != null)
{
ReceivePrintMessage(this, e);
}
}
 
protected virtual void OnReceiveServiceMessage (UnZipDLLServiceMessageEventArgs e)
{
if (ReceiveServiceMessage != null)
{
ReceiveServiceMessage(this, e);
}
}
 
#endregion
 
#region CallBack Functions
 
//This function is called when the DCLIST structure's nvflag is ExtractListEnum.ListContents.
//It is used to list the zip file contents
protected void UZReceiveDLLMessage (ulong ucsize, ulong csiz, ushort cfactor, ushort mo,
ushort dy, ushort yr, ushort hh, ushort mm, byte c,
[MarshalAs(UnmanagedType.LPStr)]String fname,
[MarshalAs(UnmanagedType.LPStr)]String meth,
uint crc, sbyte fCrypt)
{
//Add up the size of each file in the zip file
m_ZipFileSize += ucsize;
m_ZipFileCount ++;
 
//NOTE:
//Build out the ZipFileEntry collection
//You can do additional formatting for the month, day, and year properties
ZipFileEntry zfe = new ZipFileEntry();
zfe.FileName = Path.GetFileName(fname);
zfe.FilePath = Path.GetDirectoryName(fname);
zfe.IsFolder = (zfe.FileName.Length == 0 ? true : false);
zfe.FileSize = unchecked(ucsize);
zfe.FileMonth = mo;
zfe.FileDay = dy;
zfe.FileYear = yr;
zfe.FileHour = hh;
zfe.FileMinute = mm;
zfe.CompressedSize = unchecked(csiz);
zfe.CompressionFactor = cfactor;
zfe.CompressionMethShort = meth;
 
m_ZipFileEntries.Add(zfe);
 
}
 
protected int UZDLLPrint([MarshalAs(UnmanagedType.LPStr)]String msg, uint x)
{
UnZipDLLPrintMessageEventArgs e =
new UnZipDLLPrintMessageEventArgs(msg.Substring(0, Math.Min(unchecked((int)x),
msg.Length)));
OnReceivePrintMessage(e);
 
return 0;
}
 
/*
DLLSERVICE *ServCallBk = Callback function designed to be used for
allowing the application to process Windows messages,
or canceling the operation, as well as giving the
option of a progress indicator. If this function
returns a non-zero value, then it will terminate
what it is doing. It provides the application with
the name of the name of the archive member it has
just processed, as well as it's original size.
 
fname.ch = the name of the file being zipped
ucsize = the size of the file being zipped
 
* */
protected int UZDLLService([MarshalAs(UnmanagedType.LPStr)]String fname,
ulong ucsize)
{
//Raise this event
UnZipDLLServiceMessageEventArgs e =
new UnZipDLLServiceMessageEventArgs(m_ZipFileSize, fname, unchecked(ucsize));
OnReceiveServiceMessage (e);
 
return m_Stop;
}
 
protected int UZDLLPassword(ref UNZIPCBCh pwd, int bufsize,
[MarshalAs(UnmanagedType.LPStr)]String msg,
[MarshalAs(UnmanagedType.LPStr)]String entryname)
{
if (m_Password == null | m_Password == string.Empty) return -1;
 
if (m_Password.Length >= bufsize)
{
MessageBox.Show("Length of supplied password exceeds available pw buffer size "
+ bufsize.ToString() + "!", "Password Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
return 5; // IZ_PW_ERROR
}
 
//clear the byte array
for (int i = 0; i < bufsize; i ++)
pwd.ch[i] = 0;
 
m_EncodingANSI.GetBytes(m_Password, 0, m_Password.Length, pwd.ch, 0);
 
return 0;
}
 
protected int UZDLLReplace(ref UNZIPCBCh fname, uint fnbufsiz)
{
ReplaceFileOptionsEnum ReplaceFileOption = ReplaceFileOptionsEnum.ReplaceNo; //Default
string s = string.Empty;
int i = 0;
 
if (fnbufsiz > fname.ch.Length) fnbufsiz = (uint)fname.ch.Length;
for (i = 0; i < fnbufsiz; i++)
if (fname.ch[i] == 0) break;
s = m_EncodingANSI.GetString(fname.ch, 0, i);
 
DialogResult rslt = MessageBox.Show("Overwrite [" + s + "]? Click Cancel to skip all.",
"Overwrite Confirmation", MessageBoxButtons.YesNoCancel,
MessageBoxIcon.Question);
switch (rslt)
{
case DialogResult.No:
ReplaceFileOption = ReplaceFileOptionsEnum.ReplaceNo;
break;
case DialogResult.Yes:
ReplaceFileOption = ReplaceFileOptionsEnum.ReplaceYes;
break;
case DialogResult.Cancel:
ReplaceFileOption = ReplaceFileOptionsEnum.ReplaceNone;
break;
}
return ConvertEnumToInt(ReplaceFileOption);
}
 
#endregion
 
#region Public Functions
 
public int UnZipFiles ()
{
int ret = -1;
 
//check to see if there is enough information to proceed.
//Exceptions can be thrown if required data is not passed in
if (m_ZipFileName == string.Empty) return -1;
if (m_ExtractionDirectory == string.Empty) return -1;
 
//The zip file size, in bytes, is stored in the m_ZipFileSize variable.
//m_ZipFileCount is the number of files in the zip. This information
//is useful for some sort of progress information during unzipping.
if (!GetZipFileSizeAndCount()) return ret;
 
DCLIST dclist = new DCLIST();
dclist.StructVersID = uz_dcl_StructVer; // Current version of this structure
dclist.ExtractOnlyNewer = ConvertEnumToInt(m_ExtractOnlyNewer);
dclist.SpaceToUnderscore = ConvertEnumToInt(m_SpaceToUnderScore);
dclist.PromptToOverwrite = ConvertEnumToInt(m_PromptToOverWrite);
dclist.fQuiet = ConvertEnumToInt(m_Quiet);
dclist.ncflag = ConvertEnumToInt(m_WriteStdOut);
dclist.ntflag = ConvertEnumToInt (m_TestZip);
dclist.nvflag = ConvertEnumToInt(m_ExtractOrList);
dclist.nfflag = ConvertEnumToInt(m_FreshenExisting);
dclist.nzflag = ConvertEnumToInt(m_DisplayComment);
dclist.ndflag = ConvertEnumToInt(m_HonorDirectories);
dclist.noflag = ConvertEnumToInt(m_OverWriteFiles);
dclist.naflag = ConvertEnumToInt(m_ConvertCR_CRLF);
dclist.nZIflag = ConvertEnumToInt(m_VerboseZI);
dclist.B_flag = ConvertEnumToInt(m_UnixFileBackup);
dclist.C_flag = ConvertEnumToInt(m_CaseSensitivity);
dclist.D_flag = ConvertEnumToInt(m_RestoreTimeStamps);
dclist.U_flag = ConvertEnumToInt(m_UTF8NameTranslation);
dclist.fPrivilege = ConvertEnumToInt(m_Privilege);
dclist.Zip = m_ZipFileName;
dclist.ExtractDir = m_ExtractionDirectory;
 
USERFUNCTION uf = PrepareUserFunctionCallbackStructure();
 
try
{
ret = Wiz_SingleEntryUnzip(m_FilesToUnzip.Length, m_FilesToUnzip, m_FilesToExclude.Length,
m_FilesToExclude, ref dclist, ref uf);
}
catch (Exception e)
{
MessageBox.Show (e.ToString() + Environment.NewLine +
"Last Win32ErrorCode: " + Marshal.GetLastWin32Error());
//You can check the meaning of return codes here:
//http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes__0-499_.asp
}
 
return ret;
}
 
public bool GetZipFileSizeAndCount(ref ulong size, ref ulong fileCount)
{
if (!GetZipFileSizeAndCount()) return false;
size = m_ZipFileSize;
fileCount = m_ZipFileCount;
return true;
}
 
public ZipFileEntries GetZipFileContents ()
{
int ret = 0;
 
DCLIST dclist = new DCLIST();
dclist.StructVersID = uz_dcl_StructVer;
dclist.nvflag = ConvertEnumToInt(ExtractOrListEnum.ListContents);
dclist.Zip = m_ZipFileName;
 
USERFUNCTION uf = PrepareUserFunctionCallbackStructure();
 
m_ZipFileSize = 0;
m_ZipFileCount = 0;
m_ZipFileEntries.Clear();
 
//This call will fill the m_ZipFileEntries collection because when the nvflag = ExtractListEnum.ListContents
//the UZReceiveDLLMessage callback function is called
try
{
ret = Wiz_SingleEntryUnzip(m_FilesToUnzip.Length, m_FilesToUnzip, m_FilesToExclude.Length,
m_FilesToExclude, ref dclist, ref uf);
}
catch(Exception e)
{
MessageBox.Show (e.ToString() + Environment.NewLine +
"Last Win32ErrorCode: " + Marshal.GetLastWin32Error());
//You can check the meaning of return codes here:
//http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes__0-499_.asp
}
 
return m_ZipFileEntries;
}
 
public string GetZipFileComment()
{
//WORK AROUND:
//This method provides a work around to setting the nzflag of the DCLIST structure = 1, which instructs
//the dll to extract the zip file comment. See the KNOWN ISSUES region at the beginning of this code
//sample.
 
//NOTE:
//Explanation of Big Endian and Little Endian Architecture
//http://support.microsoft.com/default.aspx?scid=kb;en-us;102025
//Bytes in the stream are in Big Endian format. We have to read the bytes and
//convert to Little Endian format. That's what the GetLittleEndianByteOrder function
//does.
 
const int CENTRALRECORDENDSIGNATURE = 0x06054b50;
const int CENTRALRECORDENDSIZE = 22;
 
string comment = string.Empty;
Encoding ae = Encoding.Default;
 
if (m_ZipFileName == null | m_ZipFileName == string.Empty) return string.Empty;
 
try
{
FileStream fs = File.OpenRead(m_ZipFileName);
long pos = fs.Length - CENTRALRECORDENDSIZE;
 
while (GetLittleEndianByteOrder(fs,4) != CENTRALRECORDENDSIGNATURE)
fs.Seek(pos--, SeekOrigin.Begin);
 
 
int diskNumber = GetLittleEndianByteOrder(fs,2); /* number of this disk */
int startingDiskNum = GetLittleEndianByteOrder(fs,2); /* number of the starting disk */
int entriesOnrThisDisk = GetLittleEndianByteOrder(fs,2); /* entries on this disk */
int totalEntries = GetLittleEndianByteOrder(fs,2); /* total number of entries */
int centralDirectoryTotalSize = GetLittleEndianByteOrder(fs,4); /* size of entire central directory */
int offsetOfCentralDirectory = GetLittleEndianByteOrder(fs,4); /* offset of central on starting disk */
//This is what we really want here
int commentSize = GetLittleEndianByteOrder(fs,2); /* length of zip file comment */
 
 
byte[] zipFileComment = new byte[commentSize];
fs.Read(zipFileComment, 0, zipFileComment.Length);
 
comment = ae.GetString(zipFileComment, 0, zipFileComment.Length);
fs.Close();
}
catch (Exception e)
{
throw new Exception(e.Message);
}
return comment;
}
 
public void Stop ()
{
//m_Stop gets returned from the UZDLLService callback.
//A value of 1 means abort processing.
m_Stop = 1;
}
 
#endregion
 
#region Private Functions
 
private int ConvertEnumToInt (System.Enum obj)
{
return Convert.ToInt32(obj);
}
 
private bool GetZipFileSizeAndCount()
{
int ret = 0;
 
DCLIST dclist = new DCLIST();
dclist.StructVersID = uz_dcl_StructVer; // Current version of this structure
dclist.nvflag = ConvertEnumToInt(ExtractOrListEnum.ListContents);
dclist.Zip = m_ZipFileName;
dclist.ExtractDir = m_ExtractionDirectory;
 
USERFUNCTION uf = PrepareUserFunctionCallbackStructure();
 
//Reset these variables
m_ZipFileSize = 0;
m_ZipFileCount = 0;
 
ret = Wiz_SingleEntryUnzip(m_FilesToUnzip.Length, m_FilesToUnzip, m_FilesToExclude.Length,
m_FilesToExclude, ref dclist, ref uf);
 
return (ret == 0);
}
 
 
private USERFUNCTION PrepareUserFunctionCallbackStructure()
{
USERFUNCTION uf = new USERFUNCTION();
uf.UZDLLPrnt = new UZDLLPrintCallback(UZDLLPrint);
uf.UZDLLSND = 0; //Not supported
uf.UZDLLREPLACE = new UZDLLReplaceCallback(UZDLLReplace);
uf.UZDLLPASSWORD = new UZDLLPasswordCallback(UZDLLPassword);
uf.UZDLLMESSAGE = new UZReceiveDLLMessageCallback(UZReceiveDLLMessage);
uf.UZDLLSERVICE = new UZDLLServiceCallback(UZDLLService);
uf.UZDLLMESSAGE_I32 = null; // not used
uf.UZDLLSERVICE_I32 = null; // not used
 
return uf;
}
 
private int GetLittleEndianByteOrder(FileStream fs, int len)
{
int result = 0;
int n = 0;
int [] byteArr = new int[len];
 
//Pull the bytes from the stream
for(n=0;n<len;n++)
byteArr[n] = fs.ReadByte();
 
//Left shift the bytes to get a resulting number in little endian format
for(n=0;n<byteArr.Length;n++)
result += (byteArr[n] << (n*8));
 
return result;
}
 
#endregion
}
}
/programs/fs/unzip60/windll/csharp/ZipFileEntries.cs
0,0 → 1,73
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
using System.Collections;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for ZipFileEntries
/// </summary>
[Serializable]
public class ZipFileEntries: CollectionBase, IDisposable
{
 
public ZipFileEntries()
{
}
 
//the normal collections methods...
public void Add(ZipFileEntry obj)
{
List.Add(obj);
}
 
public void Remove(int index)
{
if (index > Count - 1 || index < 0)
{
//throw an error here...
}
else
{
List.RemoveAt(index);
}
}
 
public ZipFileEntry Item(int Index)
{
return (ZipFileEntry) List[Index];
}
 
 
#region IDisposable Members
 
public void Dispose()
{
//Any custom dispose logic goes here...
}
 
#endregion
 
 
 
}
}
/programs/fs/unzip60/windll/csharp/ZipFileEntry.cs
0,0 → 1,129
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for ZipFileEntry.
/// </summary>
public class ZipFileEntry
{
 
#region Private Vars
 
private string m_FileName;
private string m_FilePath;
private bool m_IsFolder;
private ulong m_FileSize;
private int m_FileMonth;
private int m_FileDay;
private int m_FileYear;
private int m_FileHour;
private int m_FileMinute;
private int m_CompressionFactor;
private ulong m_CompressedSize;
private string m_CompressMeth;
 
#endregion
 
public ZipFileEntry()
{
}
 
#region Properties
 
public string FileName
{
get {return m_FileName;}
set {m_FileName = value;}
}
 
public string FilePath
{
get {return m_FilePath;}
set {m_FilePath = value;}
}
 
public bool IsFolder
{
get {return m_IsFolder;}
set {m_IsFolder = value;}
}
 
public ulong FileSize
{
get {return m_FileSize;}
set {m_FileSize = value;}
}
 
public int FileMonth
{
get {return m_FileMonth;}
set {m_FileMonth = value;}
}
 
public int FileDay
{
get {return m_FileDay;}
set {m_FileDay = value;}
}
 
public int FileYear
{
get {return m_FileYear;}
set {m_FileYear = value;}
}
 
public int FileHour
{
get {return m_FileHour;}
set {m_FileHour = value;}
}
 
public int FileMinute
{
get {return m_FileMinute;}
set {m_FileMinute = value;}
}
 
public int CompressionFactor
{
get {return m_CompressionFactor;}
set {m_CompressionFactor = value;}
}
 
public ulong CompressedSize
{
get {return m_CompressedSize;}
set {m_CompressedSize = value;}
}
 
public string CompressionMethShort
{
get {return m_CompressMeth;}
set {m_CompressMeth = value;}
}
 
#endregion
 
}
}
/programs/fs/unzip60/windll/csharp/frmShowContents.cs
0,0 → 1,169
#region README
 
//_____________________________________________________________________________
//
//Sample C# code, .NET Framework 1.1, contributed to the Info-Zip project by
//Adrian Maull, April 2005.
//
//If you have questions or comments, contact me at adrian.maull@sprintpcs.com. Though
//I will try to respond to coments/questions, I do not guarantee such response.
//
//THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//PARTICULAR PURPOSE.
//
//_____________________________________________________________________________
 
 
#endregion
 
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
 
namespace CSharpInfoZip_UnZipSample
{
/// <summary>
/// Summary description for frmShowContents.
/// </summary>
public class frmShowContents : System.Windows.Forms.Form
{
private System.Windows.Forms.DataGrid dataGrid1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtComment;
 
private ZipFileEntries m_ZipFileEntries;
private string m_Comment;
 
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
 
 
public ZipFileEntries UnzippedFileCollection
{
set
{
m_ZipFileEntries = value;
dataGrid1.DataSource = m_ZipFileEntries;
label1.Text = m_ZipFileEntries.Count + " files in this zip.";
}
}
 
public string Comment
{
set
{
m_Comment = value;
txtComment.Text = m_Comment;
}
}
 
public frmShowContents()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
 
//
// TODO: Add any constructor code after InitializeComponent call
//
}
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
 
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGrid1 = new System.Windows.Forms.DataGrid();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.txtComment = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
this.SuspendLayout();
//
// dataGrid1
//
this.dataGrid1.DataMember = "";
this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid1.Location = new System.Drawing.Point(8, 16);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(592, 192);
this.dataGrid1.TabIndex = 0;
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 216);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(320, 16);
this.label1.TabIndex = 1;
this.label1.Text = "label1";
//
// label2
//
this.label2.Location = new System.Drawing.Point(8, 256);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(160, 16);
this.label2.TabIndex = 2;
this.label2.Text = "Zip file comment:";
//
// txtComment
//
this.txtComment.Location = new System.Drawing.Point(8, 272);
this.txtComment.Multiline = true;
this.txtComment.Name = "txtComment";
this.txtComment.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtComment.Size = new System.Drawing.Size(592, 72);
this.txtComment.TabIndex = 3;
this.txtComment.Text = "";
//
// frmShowContents
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(616, 400);
this.Controls.Add(this.txtComment);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.dataGrid1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmShowContents";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "frmShowContents";
this.Load += new System.EventHandler(this.frmShowContents_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
this.ResumeLayout(false);
 
}
#endregion
 
private void frmShowContents_Load(object sender, System.EventArgs e)
{
 
}
}
}
/programs/fs/unzip60/windll/csharp/frmShowContents.resx
0,0 → 1,166
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
 
Version 1.3
 
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
 
Example:
 
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
 
There are any number of "resheader" rows that contain simple
name/value pairs.
 
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
 
The mimetype is used forserialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
 
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
 
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="dataGrid1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="dataGrid1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="dataGrid1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtComment.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtComment.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="txtComment.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>(Default)</value>
</data>
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>8, 8</value>
</data>
<data name="$this.Name">
<value>frmShowContents</value>
</data>
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
</root>
/programs/fs/unzip60/windll/decs.h
0,0 → 1,56
/*
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2007-Mar-04 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
#ifndef __decs_h /* prevent multiple inclusions */
#define __decs_h
 
/* for UnZip, the "basic" part of the win32 api is sufficient */
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# define IZ_HASDEFINED_WIN32LEAN
#endif
#include <windows.h>
#ifndef __unzip_h
# include "../unzip.h"
#endif
#ifndef __structs_h
# include "../windll/structs.h"
#endif
#ifdef IZ_HASDEFINED_WIN32LEAN
# undef WIN32_LEAN_AND_MEAN
# undef IZ_HASDEFINED_WIN32LEAN
#endif
 
#define Wiz_Match match
 
#ifdef __cplusplus
extern "C" {
#endif
 
void WINAPI Wiz_NoPrinting(int f);
int WINAPI Wiz_Validate(LPSTR archive, int AllCodes);
BOOL WINAPI Wiz_Init(zvoid *, LPUSERFUNCTIONS);
BOOL WINAPI Wiz_SetOpts(zvoid *, LPDCL);
int WINAPI Wiz_Unzip(zvoid *, int, char **, int, char **);
int WINAPI Wiz_SingleEntryUnzip(int, char **, int, char **,
LPDCL, LPUSERFUNCTIONS);
int WINAPI Wiz_SingleEntryUnzpList(unsigned, LPCSTR, unsigned, LPCSTR,
LPDCL, LPUSERFUNCTIONS);
 
int WINAPI Wiz_UnzipToMemory(LPSTR zip, LPSTR file,
LPUSERFUNCTIONS lpUserFunctions,
UzpBuffer *retstr);
int WINAPI Wiz_Grep(LPSTR archive, LPSTR file, LPSTR pattern,
int cmd, int SkipBin,
LPUSERFUNCTIONS lpUserFunctions);
 
#ifdef __cplusplus
}
#endif
 
#endif /* __decs_h */
/programs/fs/unzip60/windll/guisfx/dialog.h
0,0 → 1,27
/*
Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
/* dialog.h for sfxwiz */
#define ICN_INSTALL 10
#define IDM_REPLACE_NO 100
#define IDM_REPLACE_TEXT 101
#define IDM_REPLACE_YES 102
#define IDM_REPLACE_ALL 103
#define IDM_REPLACE_NONE 104
#define ID_TARGET 201
#define ID_TEXT1 202
#define ID_TEXT2 203
#define ID_TEXT3 204
#define ID_BROWSE 205
#define ID_INSTALL 206
#define ID_INFOZIP 207
#define ID_AUTHOR 208
#define ID_EMAIL 209
#define ID_STATUS 210
#define INITDIALOG 300
 
/programs/fs/unzip60/windll/guisfx/sfxw.ico
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programs/fs/unzip60/windll/guisfx/sfxwiz.c
0,0 → 1,583
/*
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2009-Jan-02 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
 
/* Tell Microsoft Visual C++ 2005 (and newer) to leave us alone
* and let us use standard C functions the way we're supposed to.
* (These preprocessor symbols must appear before the first system
* header include.)
*/
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
# ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# endif
#endif
 
#include <windows.h>
#include <stdio.h>
#ifdef WIN32
# if defined(__LCC__)
# include <string.h>
# include <commdlg.h>
# include <dlgs.h>
# endif
#include <shlobj.h>
#else
#include <mem.h>
#include <stdlib.h>
#include <dir.h>
#include <dlgs.h>
#include <ctype.h>
#include <commdlg.h>
#include <string.h>
#endif
#include "dialog.h"
#ifndef UzpMatch
#define UzpMatch match
#endif
#include "../structs.h"
#include "../decs.h"
 
LPUSERFUNCTIONS lpUserFunctions;
HANDLE hUF = (HANDLE)NULL;
LPDCL lpDCL = NULL;
HANDLE hZUF = (HANDLE)NULL;
HANDLE hDCL = (HANDLE)NULL;
 
BOOL fDoAll = FALSE;
 
char ** argv;
 
HINSTANCE hInst;
HWND hWnd;
 
#ifndef TCHAR
#define TCHAR char
#endif
 
#ifndef _MAX_PATH
#define _MAX_PATH 260
#endif
 
int WINAPI password(LPSTR p, int n, LPCSTR m, LPCSTR name);
int WINAPI DisplayBuf(TCHAR far *buf, unsigned long size);
int WINAPI GetReplaceDlgRetVal(LPSTR filename, unsigned fnbufsiz);
#ifdef Z_UINT8_DEFINED
void WINAPI ReceiveDllMessage(z_uint8 ucsize, z_uint8 csiz,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt);
#else
void WINAPI ReceiveDllMessage(unsigned long ucsize, unsigned long csiz,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt);
#endif
void WINAPI ReceiveDllMessage_NO_INT64(unsigned long ucsize_low,
unsigned long ucsize_high, unsigned long csiz_low, unsigned long csiz_high,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt);
 
char szAppName[_MAX_PATH];
char szTarget[_MAX_PATH];
char szThisApp[_MAX_PATH];
int iReturn;
 
DLGPROC fpProc;
 
#ifndef MAX_PATH
#define MAX_PATH _MAX_PATH // maximum path =length
#endif
#define TRUE 1 // true value
#define FALSE 0 // false value
 
TCHAR zfn[MAX_PATH], // zip filename and path
szHomeDir[MAX_PATH]; // Original directory
 
/****************************************************************************
 
FUNCTION: Replace(HWND, WORD, WPARAM, LPARAM)
 
PURPOSE: Processes messages for "Replace" dialog box
 
MESSAGES:
 
WM_INITDIALOG - initialize dialog box
WM_COMMAND - Input received
 
****************************************************************************/
 
BOOL WINAPI ReplaceProc(HWND hReplaceDlg, WORD wMessage,
WPARAM wParam, LPARAM lParam)
{
static char __far *lpsz;
TCHAR szTemp[MAX_PATH];
 
switch (wMessage)
{
case WM_INITDIALOG:
lpsz = (char __far *)lParam;
wsprintf(szTemp, "Replace %s ?", (LPSTR)lpsz);
SetDlgItemText(hReplaceDlg, IDM_REPLACE_TEXT, szTemp);
return TRUE;
 
case WM_COMMAND:
switch (LOWORD(wParam))
{
case IDCANCEL: /* ESC key */
case IDOK: /* Enter key */
EndDialog(hReplaceDlg, IDM_REPLACE_NO);
break;
case IDM_REPLACE_ALL:
fDoAll = TRUE;
case IDM_REPLACE_NONE:
case IDM_REPLACE_YES:
case IDM_REPLACE_NO:
EndDialog(hReplaceDlg, wParam);
break;
}
return TRUE;
}
return FALSE;
}
 
/****************************************************************************
 
FUNCTION: GetDirProc(HWND, unsigned, WPARAM, LPARAM)
 
PURPOSE: Processes messages for "Set Reference Dir Procedure for
Update Archive" dialog box
 
MESSAGES:
 
WM_INITDIALOG - initialize dialog box
WM_COMMAND - Input received
 
****************************************************************************/
#ifdef WIN32
BOOL WINAPI
GetDirProc(HWND hDlg, WORD wMessage, WPARAM wParam, LPARAM lParam)
{
switch (wMessage) {
case WM_INITDIALOG:
/*
Common control identifiers for GetOpenFileName and GetSaveFileName
Control identifier Control Description
cmb2 Drop-down combo box that displays the current drive
or folder, and that allows the user to select a
drive or folder to open
stc4 Label for the cmb2 combo box
lst1 List box that displays the contents of the current drive or folder
stc1 Label for the lst1 list box
edt1 Edit control that displays the name of the current file, or in which the user can type the name of the file to open
stc3 Label for the edt1 edit control
cmb1 Drop-down combo box that displays the list of file type filters
stc2 Label for the cmb1 combo box
chx1 The read-only check box
IDOK The OK command button (push button)
IDCANCEL The Cancel command button (push button)
pshHelp The Help command button (push button)
 
*/
CommDlg_OpenSave_HideControl(GetParent(hDlg), cmb1);
CommDlg_OpenSave_HideControl(GetParent(hDlg), stc2);
CommDlg_OpenSave_HideControl(GetParent(hDlg), edt1);
CommDlg_OpenSave_HideControl(GetParent(hDlg), stc3);
CommDlg_OpenSave_SetControlText(GetParent(hDlg),
IDOK, "Set");
break;
default:
break;
}
return DefWindowProc(hDlg, wMessage, wParam, lParam);
}
#else
 
#ifdef __BORLANDC__
#pragma argsused
#endif
 
BOOL WINAPI
GetDirProc(HWND hwndDlg, WORD wMessage, WPARAM wParam, LPARAM lParam)
{
HWND hTemp;
 
switch (wMessage) {
case WM_INITDIALOG:
hTemp = GetDlgItem(hwndDlg, lst1);
EnableWindow(hTemp, FALSE);
ShowWindow(hTemp, SW_HIDE);
hTemp = GetDlgItem(hwndDlg, edt1);
EnableWindow(hTemp, FALSE);
ShowWindow(hTemp, SW_HIDE);
hTemp = GetDlgItem(hwndDlg, stc2);
EnableWindow(hTemp, FALSE);
ShowWindow(hTemp, SW_HIDE);
hTemp = GetDlgItem(hwndDlg, stc3);
EnableWindow(hTemp, FALSE);
ShowWindow(hTemp, SW_HIDE);
hTemp = GetDlgItem(hwndDlg, cmb1);
EnableWindow(hTemp, FALSE);
ShowWindow(hTemp, SW_HIDE);
 
break;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDCANCEL:
EndDialog(hwndDlg, FALSE);
break;
case IDOK:
getcwd(szTarget, MAX_PATH);
EndDialog(hwndDlg, TRUE);
break;
}
default:
break;
}
return FALSE;
}
#endif /* !WIN32 */
 
#ifdef __BORLANDC__
#pragma argsused
#endif
 
BOOL FAR PASCAL InitDialogProc (HWND hDlg, WORD wMsg, WORD wParam, LONG lParam) {
BOOL fProcessed = TRUE;
TCHAR szMessage[256];
 
RECT rc;
 
switch (wMsg) {
case WM_INITDIALOG:
 
hWnd = hDlg;
SetWindowText(hDlg,(LPSTR) szAppName);
SetDlgItemText(hDlg,ID_TARGET,(LPSTR)szTarget);
 
#ifdef WIN32
GetCurrentDirectory(MAX_PATH, szHomeDir);
SetCurrentDirectory(szTarget);
#else
getcwd(szHomeDir, MAX_PATH);
chdir(szTarget);
setdisk(toupper(szTarget[0]) - 'A');
#endif
GetWindowRect(hDlg, &rc);
SetWindowPos(hDlg, NULL,
(GetSystemMetrics(SM_CXSCREEN) - (rc.right - rc.left)) / 2,
(GetSystemMetrics(SM_CYSCREEN) - (rc.bottom - rc.top)) / 3,
0, 0, SWP_NOSIZE | SWP_NOZORDER);
 
break;
 
case WM_COMMAND:
switch (wParam) {
 
case ID_BROWSE :
{
#ifndef WIN32
FARPROC lpGetDirProc;
#endif
char szTemp[MAX_PATH]="mike_~@~*";
OPENFILENAME ofn;
 
memset(&ofn, '\0', sizeof(OPENFILENAME)); /* init struct */
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = hWnd;
ofn.hInstance = hInst;
ofn.lpstrFilter = NULL;
ofn.nFilterIndex = 1;
 
ofn.lpstrFile = szTemp;
ofn.nMaxFile = MAX_PATH;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = MAX_PATH; /* ignored ! */
ofn.lpstrTitle = (LPSTR)"Set Extraction Directory";
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_ENABLEHOOK |
#ifdef WIN32
OFN_EXPLORER|
#endif
OFN_HIDEREADONLY|OFN_NOVALIDATE;
#ifndef WIN32
lpGetDirProc = MakeProcInstance((FARPROC)GetDirProc, hInst);
#ifndef MSC
(UINT CALLBACK *)ofn.lpfnHook = (UINT CALLBACK *)lpGetDirProc;
#else
ofn.lpfnHook = lpGetDirProc;
#endif
#else
ofn.lpfnHook = (LPOFNHOOKPROC)GetDirProc;
#endif
ofn.lpTemplateName = "GETDIR"; /* see getfiles.dlg */
if (!GetOpenFileName(&ofn))
{
break;
}
 
ofn.lpstrFile[ofn.nFileOffset-1] = '\0';
#ifdef WIN32
SetCurrentDirectory(ofn.lpstrFile);
#else
getcwd(szTemp, MAX_PATH);
chdir(ofn.lpstrFile);
setdisk(toupper(ofn.lpstrFile[0]) - 'A');
#endif
lstrcpy(szTarget,ofn.lpstrFile);
SetDlgItemText(hDlg,ID_TARGET,(LPSTR)szTarget);
}
break;
 
case IDOK:
#ifdef WIN32
GetCurrentDirectory(_MAX_PATH,szTarget);
#else
getcwd(szTarget, _MAX_PATH);
#endif
 
lpDCL->ncflag = 0;
lpDCL->fQuiet = 0; // If not zero, no status messages will come through
lpDCL->ntflag = 0;
lpDCL->nvflag = 0;
lpDCL->nzflag = 0;
lpDCL->ndflag = 1;
lpDCL->naflag = 0;
lpDCL->nfflag = 0;
lpDCL->noflag = 0;
lpDCL->PromptToOverwrite = 1;
lpDCL->ExtractOnlyNewer = 0;
lpDCL->lpszZipFN = zfn;
lpDCL->lpszExtractDir = NULL;
iReturn = Wiz_SingleEntryUnzip(0, NULL, 0, NULL, lpDCL, lpUserFunctions);
 
/* external return codes for unzip library */
//#define PK_OK 0 /* no error */
//#define PK_COOL 0 /* no error */
//#define PK_WARN 1 /* warning error */
//#define PK_ERR 2 /* error in zipfile */
//#define PK_BADERR 3 /* severe error in zipfile */
//#define PK_MEM 4 /* insufficient memory (during initialization) */
//#define PK_MEM2 5 /* insufficient memory (password failure) */
//#define PK_MEM3 6 /* insufficient memory (file decompression) */
//#define PK_MEM4 7 /* insufficient memory (memory decompression) */
//#define PK_MEM5 8 /* insufficient memory (not yet used) */
//#define PK_NOZIP 9 /* zipfile not found */
//#define PK_PARAM 10 /* bad or illegal parameters specified */
//#define PK_FIND 11 /* no files found */
//#define PK_DISK 50 /* disk full */
//#define PK_EOF 51 /* unexpected EOF */
 
//#define IZ_CTRLC 80 /* user hit ^C to terminate */
//#define IZ_UNSUP 81 /* no files found: all unsup. compr/encrypt. */
//#define IZ_BADPWD 82 /* no files found: all had bad password */
 
/* return codes of password fetches (negative = user abort; positive = error) */
//#define IZ_PW_ENTERED 0 /* got some password string; use/try it */
//#define IZ_PW_CANCEL -1 /* no password available (for this entry) */
//#define IZ_PW_CANCELALL -2 /* no password, skip any further pwd. request */
//#define IZ_PW_ERROR 5 /* = PK_MEM2 : failure (no mem, no tty, ...) */
switch (iReturn) {
case PK_OK:
wsprintf(szMessage, "%s", "All files extracted OK");
break;
case PK_ERR:
wsprintf(szMessage, "%s", "Warning occurred on one or more files");
break;
case PK_BADERR:
wsprintf(szMessage, "%s", "Error in archive");
break;
case PK_MEM:
case PK_MEM2:
case PK_MEM3:
case PK_MEM4:
case PK_MEM5:
wsprintf(szMessage, "%s", "Insufficient memory");
break;
case PK_NOZIP:
wsprintf(szMessage, "%s", "Archive not found");
break;
case PK_FIND:
wsprintf(szMessage, "%s", "No files found");
break;
case PK_DISK:
wsprintf(szMessage, "%s", "Disk full");
break;
case PK_EOF:
wsprintf(szMessage, "%s", "Unexpected end of file");
break;
case IZ_UNSUP:
wsprintf(szMessage, "%s", "No files found: All unsupported");
break;
case IZ_BADPWD:
wsprintf(szMessage, "%s", "No files found: Bad password");
break;
default:
wsprintf(szMessage, "%s", "Unknown error");
break;
}
MessageBox(hDlg, szMessage, szAppName, MB_OK);
/* Uncomment line below to have SFXWix terminate automatically
when done.
*/
// EndDialog(hDlg, wParam);
 
break;
case IDCANCEL:
EndDialog(hDlg, wParam);
PostQuitMessage(0);
exit(0); // ..and then quit
break;
}
break;
 
default:
fProcessed = FALSE;
break;
}
return(fProcessed);
}
 
 
#define WasCancelled(hDlg) (!IsWindowEnabled(GetDlgItem(hDlg,IDCANCEL)))
 
#ifdef __BORLANDC__
#pragma argsused
#endif
int WINAPI password(LPSTR p, int n, LPCSTR m, LPCSTR name)
{
TCHAR sz[MAX_PATH];
sprintf(sz, "%s is encrypted", name);
MessageBox(hWnd, sz, "Encryption not supported", MB_OK);
return IZ_PW_CANCELALL;
}
 
int WINAPI DisplayBuf(TCHAR far *buf, unsigned long size)
{
if ((buf[0] != '\n') && (buf[0] != '\r'))
SetDlgItemText(hWnd, ID_STATUS, buf);
return (unsigned int) size;
}
 
#ifdef __BORLANDC__
#pragma argsused
#endif
int WINAPI GetReplaceDlgRetVal(LPSTR filename, unsigned fnbufsiz)
{
#ifndef WIN32
FARPROC lpfnprocReplace;
#endif
int ReplaceDlgRetVal; /* replace dialog return value */
 
#ifdef WIN32
ReplaceDlgRetVal = DialogBoxParam(hInst, "Replace",
hWnd, (DLGPROC)ReplaceProc, (DWORD)filename);
#else
lpfnprocReplace = MakeProcInstance(ReplaceProc, hInst);
ReplaceDlgRetVal = DialogBoxParam(hInst, "Replace",
hWnd, lpfnprocReplace, (DWORD)filename);
FreeProcInstance(lpfnprocReplace);
#endif
return ReplaceDlgRetVal;
}
 
#ifdef __BORLANDC__
#pragma argsused
#endif
#ifdef Z_UINT8_DEFINED
void WINAPI ReceiveDllMessage(z_uint8 ucsize, z_uint8 csiz,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt)
{
}
#else
void WINAPI ReceiveDllMessage(unsigned long ucsize, unsigned long csiz,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt)
{
}
#endif
void WINAPI ReceiveDllMessage_NO_INT64(unsigned long ucsize_low,
unsigned long ucsize_high, unsigned long csiz_low, unsigned long csiz_high,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr, unsigned hh,
unsigned mm, TCHAR c, LPCSTR filename, LPCSTR methbuf, unsigned long crc,
TCHAR fCrypt)
{
}
 
#ifdef __BORLANDC__
#pragma argsused
#endif
 
int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
{
TCHAR *ptr = NULL;
hInst = hInstance;
 
hDCL = GlobalAlloc( GPTR, (DWORD)sizeof(DCL));
if (!hDCL)
{
return 0;
}
lpDCL = (LPDCL)GlobalLock(hDCL);
if (!lpDCL)
{
return 0;
}
 
hUF = GlobalAlloc( GPTR, (DWORD)sizeof(USERFUNCTIONS));
if (!hUF)
{
return 0;
}
lpUserFunctions = (LPUSERFUNCTIONS)GlobalLock(hUF);
 
if (!lpUserFunctions)
{
return 0;
}
 
lpUserFunctions->password = password;
lpUserFunctions->print = DisplayBuf;
lpUserFunctions->sound = NULL;
lpUserFunctions->replace = GetReplaceDlgRetVal;
lpUserFunctions->SendApplicationMessage = ReceiveDllMessage;
lpUserFunctions->SendApplicationMessage_i32 = ReceiveDllMessage_NO_INT64;
lpUserFunctions->ServCallBk = NULL;
 
 
 
GetModuleFileName(hInstance,(LPSTR)szThisApp,sizeof(szThisApp));
lstrcpy(zfn, szThisApp);
 
ptr = strrchr(szThisApp, '\\');
if (ptr != NULL)
{
lstrcpy(szAppName, ptr);
ptr[0] = '\0';
lstrcpy(szTarget, szThisApp);
 
iReturn = DialogBox(hInstance, MAKEINTRESOURCE(INITDIALOG),
(HWND)NULL, (DLGPROC)InitDialogProc);
DestroyWindow((HWND) INITDIALOG);
 
#ifdef WIN32
SetCurrentDirectory(szHomeDir);
#else
getcwd(szTarget, MAX_PATH);
chdir(szHomeDir);
setdisk(toupper(szHomeDir[0]) - 'A');
#endif
}
PostQuitMessage(0);
return (0);
}
/programs/fs/unzip60/windll/guisfx/sfxwiz.dlg
0,0 → 1,50
GETDIR DIALOG 1, 1, 176, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Unzip To"
FONT 8, "Helv"
{
CONTROL "File &Name:", 1090, "STATIC", SS_LEFT | WS_CHILD | NOT WS_VISIBLE, 2, 4, 2, 8
CONTROL "", 1152, "EDIT", ES_LEFT | ES_AUTOHSCROLL | ES_OEMCONVERT | WS_CHILD | NOT WS_VISIBLE | WS_BORDER, 2, 16, 2, 12
CONTROL "", 1120, "LISTBOX", LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_CHILD | NOT WS_VISIBLE, 2, 34, 2, 60
CONTROL "&Directories:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 6, 92, 9
CONTROL "", 1088, "STATIC", SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 18, 92, 9
CONTROL "", 1121, "LISTBOX", LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 32, 92, 68
CONTROL "List Files of &Type:", 1089, "STATIC", SS_LEFT | WS_CHILD | NOT WS_VISIBLE, 2, 104, 2, 9
CONTROL "", 1136, "COMBOBOX", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_CHILD | NOT WS_VISIBLE | WS_BORDER | WS_VSCROLL, 2, 114, 2, 34
CONTROL "Dri&ves:", 1091, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 104, 92, 9
CONTROL "", 1137, "COMBOBOX", CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 114, 92, 68
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 106, 6, 50, 14
CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 106, 24, 50, 14
}
 
INITDIALOG DIALOG PRELOAD MOVEABLE DISCARDABLE 16, 2, 286, 146
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Caption"
FONT 8, "Helv"
{
CONTROL "Extract", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 212, 4, 68, 16
CONTROL "Done", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 212, 28, 68, 16
CONTROL "Directory", ID_TARGET, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 76, 272, 20
CONTROL "Target Directory:", ID_TEXT3, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 60, 60, 10
CONTROL "Browse", ID_BROWSE, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 212, 52, 68, 16
CONTROL "Contents will be extracted to the directory shown below:", ID_TEXT1, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 20, 185, 12
CONTROL "Browse to change the target directory:", ID_TEXT2, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 36, 147, 13
CONTROL "Info-ZIP's Windows SFX", ID_INFOZIP, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 4, 100, 10
CONTROL "By Mike White", ID_AUTHOR, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 100, 64, 10
CONTROL "gretamcw@coastside.net", ID_EMAIL, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 112, 88, 10
CONTROL "", ID_STATUS, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 132, 276, 10
}
 
REPLACE DIALOG 1, 1, 156, 56
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP
CAPTION "Target File Exists"
{
CONTROL "", IDM_REPLACE_TEXT, "STATIC", SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE, 4, 4, 148, 10
CONTROL "&Skip", IDM_REPLACE_NO, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 36, 44, 12
CONTROL "Re&place", IDM_REPLACE_YES, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 20, 44, 12
CONTROL "Replace &All", IDM_REPLACE_ALL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 20, 44, 12
CONTROL "Skip A&ll", IDM_REPLACE_NONE, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 36, 44, 12
}
 
 
 
/programs/fs/unzip60/windll/guisfx/sfxwiz.rc
0,0 → 1,9
#include <windows.h>
 
 
#include "dialog.h"
 
#include "sfxwiz.dlg"
 
ICN_INSTALL ICON "sfxw.ico"
 
/programs/fs/unzip60/windll/guisfx/sfxwiz16.mak
0,0 → 1,198
#
# Borland C++ IDE generated makefile
#
.AUTODEPEND
 
 
#
# Borland C++ tools
#
IMPLIB = Implib
BCC = Bcc +BccW16.cfg
TLINK = TLink
TLIB = TLib
BRC = Brc
TASM = Tasm
#
# IDE macros
#
 
 
#
# Options
#
IDE_LFLAGS = -LE:\BC45\LIB
IDE_RFLAGS =
LLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = -Twe -c -C -LE:\BC45\LIB;E:\WIZ\UNZIP\WINDLL\GUISFX\BIN -n
RLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = -31
BLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe =
CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = -IE:\BC45\INCLUDE;E:\WIZ\UNZIP;E:\WIZ\UNZIP\WINDLL;E:\WIZ\UNZIP\WINDLL\GUISFX -DDLL;API;USE_UNZIP_LIB;
LNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = -x
LEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = $(LLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe)
REAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = $(RLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe)
BEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = $(BLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe)
CLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = -ml -WS
LLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = -Twe -c -C
RLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = -31
BLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib =
CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = $(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(CLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib)
CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = -IE:\BC45\INCLUDE;E:\WIZ\UNZIP;E:\WIZ\UNZIP\WINDLL;E:\WIZ\UNZIP\WINDLL\GUISFX -DSFX;DLL;USE_EF_UT_TIME;UNZIPLIB;WINDLL
LNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = -x
LEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = $(LEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(LLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib)
REAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = $(REAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(RLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib)
BEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = $(BEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(BLATW16_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib)
 
#
# Dependency List
#
Dep_sfxwiz = \
E:\WIZ\UNZIP\WINDLL\GUISFX\BIN\sfxwiz.exe
 
sfxwiz : BccW16.cfg $(Dep_sfxwiz)
echo MakeNode
 
Dep_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe = \
E:\WIZ\UNZIP\WINDLL\GUISFX\BIN\unzsfx16.lib\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.res\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.obj
 
E:\WIZ\UNZIP\WINDLL\GUISFX\BIN\sfxwiz.exe : $(Dep_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe)
$(TLINK) @&&|
/v $(IDE_LFLAGS) $(LEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(LNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) +
E:\BC45\LIB\c0wl.obj+
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.obj
$<,$*
E:\WIZ\UNZIP\WINDLL\GUISFX\BIN\unzsfx16.lib+
E:\BC45\LIB\import.lib+
E:\BC45\LIB\mathwl.lib+
E:\BC45\LIB\cwl.lib
 
|
$(BRC) E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.res $<
 
Dep_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib = \
unzsfx16.def\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crypt.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\explode.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\extract.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\fileio.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\globals.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\inflate.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\match.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\process.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crc32.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\api.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\msdos.obj\
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\windll.obj
 
E:\WIZ\UNZIP\WINDLL\GUISFX\BIN\unzsfx16.lib : $(Dep_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib)
$(TLIB) $< $(IDE_BFLAGS) $(BEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) @&&|
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crypt.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\explode.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\extract.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\fileio.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\globals.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\inflate.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\match.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\process.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crc32.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\api.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\msdos.obj &
-+E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\windll.obj
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crypt.obj : ..\..\crypt.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\crypt.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\explode.obj : ..\..\explode.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\explode.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\extract.obj : ..\..\extract.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\extract.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\fileio.obj : ..\..\fileio.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\fileio.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\globals.obj : ..\..\globals.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\globals.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\inflate.obj : ..\..\inflate.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\inflate.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\match.obj : ..\..\match.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\match.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\process.obj : ..\..\process.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\process.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\crc32.obj : ..\..\crc32.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\crc32.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\api.obj : ..\..\api.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\api.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\msdos.obj : ..\..\msdos\msdos.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\..\msdos\msdos.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\windll.obj : ..\windll.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbunzsfx16dlib) -o$@ ..\windll.c
|
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.res : sfxwiz.rc
$(BRC) $(IDE_RFLAGS) $(REAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) -R -FO$@ sfxwiz.rc
 
E:\WIZ\UNZIP\WINDLL\GUISFX\OBJ\sfxwiz.obj : sfxwiz.c
$(BCC) -P- -c @&&|
$(CEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) $(CNIEAT_EcbWIZbUNZIPbWINDLLbGUISFXbBINbsfxwizdexe) -o$@ sfxwiz.c
|
 
# Compiler configuration file
BccW16.cfg :
Copy &&|
-R
-v
-vi
-H
-H=sfxwiz.csm
-H-
-ml
-WS
-f-
-ff-
-d
-v-
-R-
-Z
-O
-Oe
-Ol
-Ob
-OW
-3
-Og
| $@
 
 
/programs/fs/unzip60/windll/guisfx/unzsfx16.def
0,0 → 1,23
;module-definition file for Windows UnZip static Library -- used by link.exe
LIBRARY UNZSFX16 ; Library module name
 
DESCRIPTION 'Windows Info-ZIP UnZip SFX Library (16 bit), by Mike White'
 
CODE PRELOAD FIXED
 
DATA PRELOAD MOVEABLE
 
EXPORTS
Wiz_SingleEntryUnzip
UzpVersion
Wiz_Grep
Wiz_Init
Wiz_SetOpts
Wiz_Unzip
Wiz_Validate
Wiz_NoPrinting
UzpVersion2
Wiz_UnzipToMemory
Wiz_Match
UzpFreeMemBuffer
 
/programs/fs/unzip60/windll/structs.h
0,0 → 1,187
/*
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2009-Jan-02 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
#ifndef __unzip_structs_h
#define __unzip_structs_h
 
#ifndef Far
# define Far far
#endif
 
/* Porting definitions between Win 3.1x and Win32 */
#ifdef WIN32
# define far
# define _far
# define __far
# define near
# define _near
# define __near
# ifndef FAR
# define FAR
# endif
#endif
 
#ifdef __cplusplus
extern "C" {
#endif
 
#ifndef Z_UINT8_DEFINED
# if defined(__GNUC__)
typedef unsigned long long z_uint8;
# define Z_UINT8_DEFINED
# elif (defined(_MSC_VER) && (_MSC_VER >= 1100))
typedef unsigned __int64 z_uint8;
# define Z_UINT8_DEFINED
# elif (defined(__WATCOMC__) && (__WATCOMC__ >= 1100))
typedef unsigned __int64 z_uint8;
# define Z_UINT8_DEFINED
# elif (defined(__IBMC__) && (__IBMC__ >= 350))
typedef unsigned __int64 z_uint8;
# define Z_UINT8_DEFINED
# elif (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0500))
typedef unsigned __int64 z_uint8;
# define Z_UINT8_DEFINED
# elif (defined(__LCC__))
typedef unsigned __int64 z_uint8;
# define Z_UINT8_DEFINED
# endif
#endif
 
/* The following "function" types are jointly defined in both Zip and UnZip
* DLLs. They are guarded by the DEFINED_ONCE symbol to prevent multiple
* declarations in applications that reference both the Zip and the UnZip DLL.
*/
#ifndef DEFINED_ONCE
#define DEFINED_ONCE
 
typedef int (WINAPI DLLPRNT) (LPSTR, unsigned long);
typedef int (WINAPI DLLPASSWORD) (LPSTR pwbuf, int bufsiz,
LPCSTR promptmsg, LPCSTR entryname);
# ifdef Z_UINT8_DEFINED
typedef int (WINAPI DLLSERVICE) (LPCSTR entryname, z_uint8 uncomprsiz);
# else
typedef int (WINAPI DLLSERVICE) (LPCSTR entryname, unsigned long uncomprsiz);
# endif
typedef int (WINAPI DLLSERVICE_I32) (LPCSTR entryname,
unsigned long ucsz_lo, unsigned long ucsz_hi);
#endif /* DEFINED_ONCE */
 
typedef void (WINAPI DLLSND) (void);
typedef int (WINAPI DLLREPLACE) (LPSTR efnam, unsigned efbufsiz);
#ifdef Z_UINT8_DEFINED
typedef void (WINAPI DLLMESSAGE) (z_uint8 ucsize, z_uint8 csize,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
#else
typedef void (WINAPI DLLMESSAGE) (unsigned long ucsize, unsigned long csize,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
#endif
typedef void (WINAPI DLLMESSAGE_I32) (unsigned long ucsiz_l,
unsigned long ucsiz_h, unsigned long csiz_l, unsigned long csiz_h,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
 
typedef struct {
DLLPRNT *print;
DLLSND *sound;
DLLREPLACE *replace;
DLLPASSWORD *password;
DLLMESSAGE *SendApplicationMessage;
DLLSERVICE *ServCallBk;
DLLMESSAGE_I32 *SendApplicationMessage_i32;
DLLSERVICE_I32 *ServCallBk_i32;
#ifdef Z_UINT8_DEFINED
z_uint8 TotalSizeComp;
z_uint8 TotalSize;
z_uint8 NumMembers;
#else
struct _TotalSizeComp {
unsigned long u4Lo;
unsigned long u4Hi;
} TotalSizeComp;
struct _TotalSize {
unsigned long u4Lo;
unsigned long u4Hi;
} TotalSize;
struct _NumMembers {
unsigned long u4Lo;
unsigned long u4Hi;
} NumMembers;
#endif
unsigned CompFactor;
WORD cchComment;
} USERFUNCTIONS, far * LPUSERFUNCTIONS;
 
/* The following symbol UZ_DCL_STRUCTVER must be incremented whenever an
* incompatible change is applied to the WinDLL API structure "DCL" !
*/
#define UZ_DCL_STRUCTVER 0x600
/* The structure "DCL" is collects most the UnZip WinDLL program options
* that control the operation of the main UnZip WinDLL function.
*/
typedef struct {
unsigned StructVersID; /* struct version id (= UZ_DCL_STRUCTVER) */
int ExtractOnlyNewer; /* TRUE for "update" without interaction
(extract only newer/new files, without queries) */
int SpaceToUnderscore; /* TRUE if convert space to underscore */
int PromptToOverwrite; /* TRUE if prompt to overwrite is wanted */
int fQuiet; /* quiet flag:
{ 0 = all | 1 = few | 2 = no } messages */
int ncflag; /* write to stdout if TRUE */
int ntflag; /* test zip file */
int nvflag; /* verbose listing */
int nfflag; /* "freshen" (replace existing files by newer versions) */
int nzflag; /* display zip file comment */
int ndflag; /* controls (sub)dir recreation during extraction
0 = junk paths from filenames
1 = "safe" usage of paths in filenames (skip ../)
2 = allow unsafe path components (dir traversal)
*/
int noflag; /* always overwriting existing files if TRUE */
int naflag; /* do end-of-line translation */
int nZIflag; /* get ZipInfo output if TRUE */
int B_flag; /* backup existing files if TRUE */
int C_flag; /* be case insensitive if TRUE */
int D_flag; /* controls restoration of timestamps
0 = restore all timestamps (default)
1 = skip restoration of timestamps for folders
created on behalf of directory entries in the
Zip archive
2 = no restoration of timestamps; extracted files
and dirs get stamped with current time */
int U_flag; /* controls UTF-8 filename coding support
0 = automatic UTF-8 translation enabled (default)
1 = recognize UTF-8 coded names, but all non-ASCII
characters are "escaped" into "#Uxxxx"
2 = UTF-8 support is disabled, filename handling
works exactly as in previous UnZip versions */
int fPrivilege; /* 1 => restore ACLs in user mode,
2 => try to use privileges for restoring ACLs */
LPSTR lpszZipFN; /* zip file name */
LPSTR lpszExtractDir; /* directory to extract to. This should be NULL if
you are extracting to the current directory. */
} DCL, far * LPDCL;
 
#ifdef __cplusplus
}
#endif
 
/* return codes of the (DLLPASSWORD)() callback function */
#define IDM_REPLACE_NO 100
#define IDM_REPLACE_TEXT 101
#define IDM_REPLACE_YES 102
#define IDM_REPLACE_ALL 103
#define IDM_REPLACE_NONE 104
#define IDM_REPLACE_RENAME 105
#define IDM_REPLACE_HELP 106
 
#endif /* __unzip_structs_h */
/programs/fs/unzip60/windll/unziplib.def
0,0 → 1,23
;module-definition file for Windows UnZip static Library -- used by link.exe
LIBRARY UNZIP32 ; Library module name
 
;DESCRIPTION 'Windows Info-ZIP UnZip Library (32 bit), by Mike White'
 
CODE PRELOAD FIXED
 
DATA PRELOAD MOVEABLE
 
EXPORTS
Wiz_SingleEntryUnzip
UzpVersion
Wiz_Init
Wiz_SetOpts
Wiz_Unzip
Wiz_Validate
Wiz_NoPrinting
UzpVersion2
Wiz_UnzipToMemory
Wiz_Match
Wiz_Grep
UzpFreeMemBuffer
 
/programs/fs/unzip60/windll/uzexampl.c
0,0 → 1,477
/*
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2009-Jan-02 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
/*
This is a very simplistic example of how to load and make a call into the
dll. This has been compiled and tested for a 32-bit console version, but
not under 16-bit windows. However, the #ifdef's have been left in for the
16-bit code, simply as an example.
 
*/
 
#ifndef WIN32 /* this code is currently only tested for 32-bit console */
# define WIN32
#endif
 
#if defined(__WIN32__) && !defined(WIN32)
# define WIN32
#endif
 
/* Tell Microsoft Visual C++ 2005 to leave us alone and
* let us use standard C functions the way we're supposed to.
*/
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
# ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# endif
# ifndef _CRT_NONSTDC_NO_WARNINGS
# define _CRT_NONSTDC_NO_WARNINGS
# endif
#endif
 
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <string.h>
#include "uzexampl.h"
#include "../unzvers.h"
#ifdef WIN32
# include <winver.h>
#else
# include <ver.h>
#endif
 
#ifndef _MAX_PATH
# define _MAX_PATH 260 /* max total file or directory name path */
#endif
 
#ifdef WIN32
#define UNZ_DLL_NAME "UNZIP32.DLL\0"
#else
#define UNZ_DLL_NAME "UNZIP16.DLL\0"
#endif
 
#define DLL_WARNING "Cannot find %s."\
" The Dll must be in the application directory, the path, "\
"the Windows directory or the Windows System directory."
#define DLL_VERSION_WARNING "%s has the wrong version number."\
" Insure that you have the correct dll's installed, and that "\
"an older dll is not in your path or Windows System directory."
 
int hFile; /* file handle */
 
LPUSERFUNCTIONS lpUserFunctions;
HANDLE hUF = (HANDLE)NULL;
LPDCL lpDCL = NULL;
HANDLE hDCL = (HANDLE)NULL;
HINSTANCE hUnzipDll;
HANDLE hZCL = (HANDLE)NULL;
#ifdef WIN32
DWORD dwPlatformId = 0xFFFFFFFF;
#endif
static ZCONST UzpVer *lpUzVersInfo = NULL;
 
 
/* Forward References */
int WINAPI DisplayBuf(LPSTR, unsigned long);
int WINAPI GetReplaceDlgRetVal(LPSTR, unsigned);
int WINAPI password(LPSTR, int, LPCSTR, LPCSTR);
 
ZCONST UzpVer * UZ_EXP UzpVersion OF((void));
_DLL_UZVER pUzpVersion;
_DLL_UNZIP pWiz_SingleEntryUnzip;
 
static void FreeUpMemory(void);
 
int main(int argc, char **argv)
{
int exfc, infc;
char **exfv, **infv;
char *x_opt;
DWORD dwVerInfoSize;
DWORD dwVerHnd;
char szFullPath[_MAX_PATH];
int retcode;
#ifdef WIN32
char *ptr;
#else
HFILE hfile;
OFSTRUCT ofs;
#endif
HANDLE hMem; /* handle to mem alloc'ed */
 
if (argc < 2) /* We must have an archive to unzip */
{
char *progname = strrchr(argv[0], '\\');
 
if (progname != NULL)
progname++;
else
{
progname = argv[0];
if (progname == NULL || *progname == '\0') progname = "example";
}
printf("usage: %s <zipfile> [entry1 [entry2 [...]]] [-x xentry1 [...]]",
progname);
return 0;
}
 
hDCL = GlobalAlloc( GPTR, (DWORD)sizeof(DCL));
if (!hDCL)
{
return -1;
}
lpDCL = (LPDCL)GlobalLock(hDCL);
if (!lpDCL)
{
GlobalFree(hDCL);
return -1;
}
 
hUF = GlobalAlloc( GPTR, (DWORD)sizeof(USERFUNCTIONS));
if (!hUF)
{
GlobalUnlock(hDCL);
GlobalFree(hDCL);
return -1;
}
lpUserFunctions = (LPUSERFUNCTIONS)GlobalLock(hUF);
 
if (!lpUserFunctions)
{
GlobalFree(hUF);
GlobalUnlock(hDCL);
GlobalFree(hDCL);
return -1;
}
 
lpUserFunctions->password = password;
lpUserFunctions->print = DisplayBuf;
lpUserFunctions->sound = NULL;
lpUserFunctions->replace = GetReplaceDlgRetVal;
lpUserFunctions->SendApplicationMessage = ReceiveDllMessage;
 
/* First we go look for the unzip dll */
#ifdef WIN32
if (SearchPath(
NULL, /* address of search path */
UNZ_DLL_NAME, /* address of filename */
NULL, /* address of extension */
_MAX_PATH, /* size, in characters, of buffer */
szFullPath, /* address of buffer for found filename */
&ptr /* address of pointer to file component */
) == 0)
#else
hfile = OpenFile(UNZ_DLL_NAME, &ofs, OF_SEARCH);
if (hfile == HFILE_ERROR)
#endif
{
char str[256];
wsprintf (str, DLL_WARNING, UNZ_DLL_NAME);
printf("%s\n", str);
FreeUpMemory();
return -1;
}
#ifndef WIN32
else
lstrcpy(szFullPath, ofs.szPathName);
_lclose(hfile);
#endif
 
/* Now we'll check the unzip dll version information. Note that this is
not the same information as is returned from a call to UzpVersion()
*/
dwVerInfoSize =
GetFileVersionInfoSize(szFullPath, &dwVerHnd);
 
if (dwVerInfoSize)
{
BOOL fRet, fRetName;
char str[256];
LPSTR lpstrVffInfo; /* Pointer to block to hold info */
LPSTR lszVer = NULL;
LPSTR lszVerName = NULL;
UINT cchVer = 0;
 
/* Get a block big enough to hold the version information */
hMem = GlobalAlloc(GMEM_MOVEABLE, dwVerInfoSize);
lpstrVffInfo = GlobalLock(hMem);
 
/* Get the version information */
if (GetFileVersionInfo(szFullPath, 0L, dwVerInfoSize, lpstrVffInfo))
{
fRet = VerQueryValue(lpstrVffInfo,
TEXT("\\StringFileInfo\\040904E4\\FileVersion"),
(LPVOID)&lszVer,
&cchVer);
fRetName = VerQueryValue(lpstrVffInfo,
TEXT("\\StringFileInfo\\040904E4\\CompanyName"),
(LPVOID)&lszVerName,
&cchVer);
if (!fRet || !fRetName ||
(lstrcmpi(lszVer, UNZ_DLL_VERSION) != 0) ||
(lstrcmpi(lszVerName, IZ_COMPANY_NAME) != 0))
{
wsprintf (str, DLL_VERSION_WARNING, UNZ_DLL_NAME);
printf("%s\n", str);
GlobalUnlock(hMem);
GlobalFree(hMem);
FreeUpMemory();
return -1;
}
}
/* free memory */
GlobalUnlock(hMem);
GlobalFree(hMem);
}
else
{
char str[256];
wsprintf (str, DLL_VERSION_WARNING, UNZ_DLL_NAME);
printf("%s\n", str);
FreeUpMemory();
return -1;
}
/* Okay, now we know that the dll exists, and has the proper version
* information in it. We can go ahead and load it.
*/
hUnzipDll = LoadLibrary(UNZ_DLL_NAME);
#ifndef WIN32
if (hUnzipDll > HINSTANCE_ERROR)
#else
if (hUnzipDll != NULL)
#endif
{
pUzpVersion =
(_DLL_UZVER)GetProcAddress(hUnzipDll, "UzpVersion");
pWiz_SingleEntryUnzip =
(_DLL_UNZIP)GetProcAddress(hUnzipDll, "Wiz_SingleEntryUnzip");
}
else
{
char str[256];
wsprintf (str, "Could not load %s", UNZ_DLL_NAME);
printf("%s\n", str);
FreeUpMemory();
return -1;
}
 
/*
Before we actually start with the extraction process, we should first
check whether the API of the loaded dll is compatible with the API
definition used to compile this frontend program.
*/
lpUzVersInfo = (*pUzpVersion)();
 
/* The UnZip WinDLL code may change quite frequently. To be safe, we
* require the DLL to be at least at the release level of this example
* frontend code.
*/
# define UZDLL_MINVERS_MAJOR UZ_MAJORVER
# define UZDLL_MINVERS_MINOR UZ_MINORVER
# define UZDLL_MINVERS_PATCHLEVEL UZ_PATCHLEVEL
/* This UnZip DLL stub requires a DLL version of at least: */
if ( (lpUzVersInfo->unzip.major < UZDLL_MINVERS_MAJOR) ||
((lpUzVersInfo->unzip.major == UZDLL_MINVERS_MAJOR) &&
((lpUzVersInfo->unzip.minor < UZDLL_MINVERS_MINOR) ||
((lpUzVersInfo->unzip.minor == UZDLL_MINVERS_MINOR) &&
(lpUzVersInfo->unzip.patchlevel < UZDLL_MINVERS_PATCHLEVEL)
)
)
) )
{
char str[256];
wsprintf(str, "The version %u.%u%u of the loaded UnZip DLL is too old!",
lpUzVersInfo->unzip.major, lpUzVersInfo->unzip.minor,
lpUzVersInfo->unzip.patchlevel);
printf("%s\n", str);
FreeLibrary(hUnzipDll);
FreeUpMemory();
return -1;
}
 
if (lpUzVersInfo->structlen >=
(offsetof(UzpVer, dllapimin) + sizeof(_version_type)))
{
if ( (lpUzVersInfo->dllapimin.major > UZ_WINAPI_COMP_MAJOR) ||
((lpUzVersInfo->dllapimin.major == UZ_WINAPI_COMP_MAJOR) &&
((lpUzVersInfo->dllapimin.minor > UZ_WINAPI_COMP_MINOR) ||
((lpUzVersInfo->dllapimin.minor == UZ_WINAPI_COMP_MINOR) &&
(lpUzVersInfo->dllapimin.patchlevel > UZ_WINAPI_COMP_REVIS)
)
)
) )
{
char str[256];
wsprintf(str, "Found incompatible WinDLL API version %u.%u%u, aborting!",
lpUzVersInfo->dllapimin.major, lpUzVersInfo->dllapimin.minor,
lpUzVersInfo->dllapimin.patchlevel);
printf("%s\n", str);
FreeLibrary(hUnzipDll);
FreeUpMemory();
return -1;
}
}
 
/*
Here is where the actual extraction process begins. First we set up the
flags to be passed into the dll.
*/
lpDCL->StructVersID = UZ_DCL_STRUCTVER; /* version of this structure */
lpDCL->ncflag = 0; /* write to stdout if true */
lpDCL->fQuiet = 0; /* we want all messages
1 = fewer messages,
2 = no messages */
lpDCL->ntflag = 0; /* test zip file if true */
lpDCL->nvflag = 0; /* give a verbose listing if true */
lpDCL->nzflag = 0; /* display zip file comment if true */
lpDCL->ndflag = 1; /* recreate directories != 0,
skip "../" if < 2 */
lpDCL->naflag = 0; /* do not convert CR to CRLF */
lpDCL->nfflag = 0; /* do not freshen existing files only */
lpDCL->noflag = 1; /* over-write all files if true */
lpDCL->nZIflag = 0; /* no ZipInfo output mode */
lpDCL->B_flag = 0; /* do not backup existing files */
lpDCL->C_flag = 0; /* do not match case-insensitive */
lpDCL->D_flag = 0; /* restore all timestamps */
lpDCL->U_flag = 0; /* do not disable UTF-8 support */
lpDCL->ExtractOnlyNewer = 0; /* do not extract only newer */
lpDCL->SpaceToUnderscore = 0; /* do not convert space to '_' in filenames */
lpDCL->PromptToOverwrite = 0; /* "overwrite all" selected -> no query mode */
lpDCL->lpszZipFN = argv[1]; /* the archive name */
lpDCL->lpszExtractDir = NULL; /* the directory to extract to.
This is set to NULL if you are extracting
to the current directory.
*/
/*
As this is a quite short example, intended primarily to show how to
load and call in to the dll, the command-line parameters are only
parsed in a very simplistic way:
We assume that the command-line parameters after the zip archive
make up a list of file patterns:
" [file_i1] [file_i2] ... [file_iN] [-x file_x1 [file_x2] ...]".
We scan for an argument "-x"; all arguments in front are
"include file patterns", all arguments after are "exclude file patterns".
If no more arguments are given, we extract ALL files.
 
In summary, the example program should be run like:
example <archive.name> [files to include] [-x files to exclude]
("<...> denotes mandatory arguments, "[...]" optional arguments)
*/
x_opt = NULL;
if (argc > 2) {
infv = &argv[2];
for (infc = 0; infc < argc-2; infc++)
if (!strcmp("-x", infv[infc])) {
x_opt = infv[infc];
infv[infc] = NULL;
break;
}
exfc = argc - infc - 3;
if (exfc > 0)
exfv = &argv[infc+3];
else {
exfc = 0;
exfv = NULL;
}
} else {
infc = exfc = 0;
infv = exfv = NULL;
}
retcode = (*pWiz_SingleEntryUnzip)(infc, infv, exfc, exfv, lpDCL,
lpUserFunctions);
if (x_opt) {
infv[infc] = x_opt;
x_opt = NULL;
}
 
if (retcode != 0)
printf("Error unzipping (error/warning code %d)...\n", retcode);
 
FreeLibrary(hUnzipDll);
FreeUpMemory();
return retcode;
}
 
int WINAPI GetReplaceDlgRetVal(LPSTR filename, unsigned fnbufsiz)
{
/* This is where you will decide if you want to replace, rename etc existing
files.
*/
return 1;
}
 
static void FreeUpMemory(void)
{
if (hUF)
{
GlobalUnlock(hUF);
GlobalFree(hUF);
}
if (hDCL)
{
GlobalUnlock(hDCL);
GlobalFree(hDCL);
}
}
 
/* This is a very stripped down version of what is done in Wiz. Essentially
what this function is for is to do a listing of an archive contents. It
is actually never called in this example, but a dummy procedure had to
be put in, so this was used.
*/
#ifdef Z_UINT8_DEFINED
void WINAPI ReceiveDllMessage(z_uint8 ucsize, z_uint8 csiz,
unsigned cfactor, unsigned mo, unsigned dy, unsigned yr,
unsigned hh, unsigned mm, char c, LPCSTR filename,
LPCSTR methbuf, unsigned long crc, char fCrypt)
#else
void WINAPI ReceiveDllMessage(unsigned long ucsize, unsigned long csiz,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt)
#endif
{
char psLBEntry[_MAX_PATH];
char LongHdrStats[] =
"%7lu %7lu %4s %02u-%02u-%02u %02u:%02u %c%s";
char CompFactorStr[] = "%c%d%%";
char CompFactor100[] = "100%%";
char szCompFactor[10];
char sgn;
 
if (csiz > ucsize)
sgn = '-';
else
sgn = ' ';
if (cfactor == 100)
lstrcpy(szCompFactor, CompFactor100);
else
sprintf(szCompFactor, CompFactorStr, sgn, cfactor);
wsprintf(psLBEntry, LongHdrStats,
ucsize, csiz, szCompFactor, mo, dy, yr, hh, mm, c, filename);
 
printf("%s\n", psLBEntry);
}
 
/* Password entry routine - see password.c in the wiz directory for how
this is actually implemented in WiZ. If you have an encrypted file,
this will probably give you great pain.
*/
int WINAPI password(LPSTR p, int n, LPCSTR m, LPCSTR name)
{
return 1;
}
 
/* Dummy "print" routine that simply outputs what is sent from the dll */
int WINAPI DisplayBuf(LPSTR buf, unsigned long size)
{
printf("%s", (char *)buf);
return (int)(unsigned int) size;
}
/programs/fs/unzip60/windll/uzexampl.h
0,0 → 1,72
/*
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2009-Jan-02 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
/*
Example header file
 
Do not use this header file in the WiZ application, use WIZ.H
instead.
 
*/
#ifndef _UZEXAMPL_H
#define _UZEXAMPL_H
 
#include <windows.h>
#ifdef __RSXNT__
# include "../win32/rsxntwin.h"
#endif
#include <assert.h> /* required for all Windows applications */
#include <stdlib.h>
#include <stdio.h>
#include <commdlg.h>
#ifndef __RSXNT__
# include <dlgs.h>
#endif
#include <windowsx.h>
 
#include "../unzip.h"
#include "../windll/structs.h"
#include "../windll/decs.h"
 
/* Defines */
 
typedef const UzpVer * (WINAPI * _DLL_UZVER)(void);
typedef int (WINAPI * _DLL_UNZIP)(int, char **, int, char **,
LPDCL, LPUSERFUNCTIONS);
 
/* Global variables */
 
extern LPUSERFUNCTIONS lpUserFunctions;
extern LPDCL lpDCL;
 
extern HINSTANCE hUnzipDll;
 
extern int hFile; /* file handle */
 
/* Global functions */
 
int WINAPI DisplayBuf(LPSTR, unsigned long);
 
/* Procedure Calls */
#ifdef Z_UINT8_DEFINED
void WINAPI ReceiveDllMessage(z_uint8 ucsize, z_uint8 csize,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
#else
void WINAPI ReceiveDllMessage(unsigned long ucsize, unsigned long csize,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
#endif
void WINAPI ReceiveDllMessage_NO_INT64(unsigned long ucsiz_l,
unsigned long ucsiz_h, unsigned long csiz_l, unsigned long csiz_h,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
#endif /* _UZEXAMPL_H */
/programs/fs/unzip60/windll/vb/VBReadMe.txt
0,0 → 1,50
On Windows, please read this file using WordPad to format lines properly.
 
This directory contains a short example on how to use the Win32 UnZip DLL
with Visual Basic. The example code consists of a simple dialog form and
a standard module containing the interface code to call unzip32.dll.
The code assumes that the unzip32.dll binary is available somewhere on the
execution path. The easiest way to satisfy this rule is to keep a copy of
unzip32.dll in the directory where the VB executable is stored, but if
it's in the command path it should be found.
NOTE: Whenever a VB program is run from the VB6 IDE, the "path of the VB
executable" is the path where the IDE program file "VB6.EXE" is stored,
NOT the storage directory of the VB project file (= result of the App.Path
property accessed from within the VB program).
 
The example code has been edited last with Visual Basic 6, but should be
compatible with VB 5. To maintain compatibility with VB5 after having modified
the example project in VB6, the project file has to be edited using a standard
text editor (e.g.: Notepad), to remove the line specifying the "Retained"
property. This property line is not recognized by VB 5 and would prevent
correct loading of the project in VB 5.
 
This VB example makes use of the "Windows Common Dialogs" ActiveX control
comdlg32.ocx, supplied with Visual Basic. Unfortunately, there are different
revisions of this control available which are not binary compatible. In order
to maintain compatibility of the source code with all available versions of
comdlg32.ocx, the source files may have to be edited manually after the
program has been saved from the VB environment on a system containing the
latest release of comdlg32.ocx:
 
Both vbunzip.frm and vbunzip.vbp should contain a reference line for the
common dialog ocx reading like:
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
^^^
The important section of this line is the revision number "1.1" (marked by
the "^^^" signs). On a system with a more recent version of comdlg32.ocx
installed, this version number is updated to "1.2" (or higher) by VB
automatically. This number has to be changed back to "1.1" manually,
otherwise the example code can no longer be used on systems with old versions
of comdlg32.ocx.
 
When fetching the VB example code from the UnZip source distribution, one
has to make sure that the files are stored in the correct "DOS/Windows-native"
text format with "CR-LF" line endings. Visual Basic does not accept Unix style
text format (LF line terminators) for Form class modules (*.frm) and the
project file (*.vbp). You may use unzip's -a option to convert the project
on extraction. If this is a full source distribution, see the Where file for
where to download the compiled unzip DLL for a specific platform which includes
this example project in native format for that platform.
 
For more information, see the comments within the VB source.
/programs/fs/unzip60/windll/vb/vbunzip.bas
0,0 → 1,714
Attribute VB_Name = "VBUnzBas"
Option Explicit
 
'-- Please Do Not Remove These Comment Lines!
'----------------------------------------------------------------
'-- Sample VB 5 / VB 6 code to drive unzip32.dll
'-- Contributed to the Info-ZIP project by Mike Le Voi
'--
'-- Contact me at: mlevoi@modemss.brisnet.org.au
'--
'-- Visit my home page at: http://modemss.brisnet.org.au/~mlevoi
'--
'-- Use this code at your own risk. Nothing implied or warranted
'-- to work on your machine :-)
'----------------------------------------------------------------
'--
'-- This Source Code Is Freely Available From The Info-ZIP Project
'-- Web Server At:
'-- ftp://ftp.info-zip.org/pub/infozip/infozip.html
'--
'-- A Very Special Thanks To Mr. Mike Le Voi
'-- And Mr. Mike White
'-- And The Fine People Of The Info-ZIP Group
'-- For Letting Me Use And Modify Their Original
'-- Visual Basic 5.0 Code! Thank You Mike Le Voi.
'-- For Your Hard Work In Helping Me Get This To Work!!!
'---------------------------------------------------------------
'--
'-- Contributed To The Info-ZIP Project By Raymond L. King.
'-- Modified June 21, 1998
'-- By Raymond L. King
'-- Custom Software Designers
'--
'-- Contact Me At: king@ntplx.net
'-- ICQ 434355
'-- Or Visit Our Home Page At: http://www.ntplx.net/~king
'--
'---------------------------------------------------------------
'--
'-- Modified August 17, 1998
'-- by Christian Spieler
'-- (implemented sort of a "real" user interface)
'-- Modified May 11, 2003
'-- by Christian Spieler
'-- (use late binding for referencing the common dialog)
'-- Modified February 01, 2008
'-- by Christian Spieler
'-- (adapted DLL interface changes, fixed UZDLLPass callback)
'-- Modified December 08, 2008 to December 30, 2008
'-- by Ed Gordon
'-- Updated sample project for UnZip 6.0 unzip32.dll
'-- (support UnZip 6.0 flags and structures)
'-- Modified January 03, 2009
'-- by Christian Spieler
'-- (better solution for overwrite_all handling, use Double
'-- instead of Currency to stay safe against number overflow,
'-- corrected UZDLLServ_I32() calling interface,
'-- removed code that is unsupported under VB5)
'--
'---------------------------------------------------------------
 
'-- Expected Version data for the DLL compatibility check
'
' For consistency of the version checking algorithm, the version number
' constants "UzDLL_MinVer" and "UzDLL_MaxAPI" have to fullfil the
' condition "UzDLL_MinVer <= "UzDLL_MaxAPI".
' Version data supplied by a specific UnZip DLL always obey the
' relation "UzDLL Version" >= "UzDLL API".
 
'Oldest UnZip DLL version that is supported by this program
Private Const cUzDLL_MinVer_Major As Byte = 6
Private Const cUzDLL_MinVer_Minor As Byte = 0
Private Const cUzDLL_MinVer_Revis As Byte = 0
 
'Last (newest) UnZip DLL API version that is known (and supported)
'by this program
Private Const cUzDLL_MaxAPI_Major As Byte = 6
Private Const cUzDLL_MaxAPI_Minor As Byte = 0
Private Const cUzDLL_MaxAPI_Revis As Byte = 0
 
'Current structure version ID of the DCLIST structure layout
Private Const cUz_DCLStructVer As Long = &H600
 
'-- C Style argv
Private Type UNZIPnames
uzFiles(0 To 99) As String
End Type
 
'-- Callback Large "String"
Private Type UNZIPCBChar
ch(32800) As Byte
End Type
 
'-- Callback Small "String"
Private Type UNZIPCBCh
ch(256) As Byte
End Type
 
'-- UNZIP32.DLL DCL Structure
Private Type DCLIST
StructVersID As Long ' Currently version &H600 of this structure
ExtractOnlyNewer As Long ' 1 = Extract Only Newer/New, Else 0
SpaceToUnderscore As Long ' 1 = Convert Space To Underscore, Else 0
PromptToOverwrite As Long ' 1 = Prompt To Overwrite Required, Else 0
fQuiet As Long ' 2 = No Messages, 1 = Less, 0 = All
ncflag As Long ' 1 = Write To Stdout, Else 0
ntflag As Long ' 1 = Test Zip File, Else 0
nvflag As Long ' 0 = Extract, 1 = List Zip Contents
nfflag As Long ' 1 = Extract Only Newer Over Existing, Else 0
nzflag As Long ' 1 = Display Zip File Comment, Else 0
ndflag As Long ' 0 = Junk paths, 1 = safe path components only, 2 = all
noflag As Long ' 1 = Overwrite Files, Else 0
naflag As Long ' 1 = Convert CR To CRLF, Else 0
nZIflag As Long ' 1 = Zip Info Verbose, Else 0
B_flag As Long ' 1 = Backup existing files, Else 0
C_flag As Long ' 1 = Case Insensitivity, 0 = Case Sensitivity
D_flag As Long ' Timestamp restoration, 0 = All, 1 = Files, 2 = None
U_flag As Long ' 0 = Unicode enabled, 1 = Escape chars, 2 = No Unicode
fPrivilege As Long ' 1 = ACL, 2 = Privileges
Zip As String ' The Zip Filename To Extract Files
ExtractDir As String ' The Extraction Directory, NULL If Extracting To Current Dir
End Type
 
'-- UNZIP32.DLL Userfunctions Structure
Private Type USERFUNCTION
UZDLLPrnt As Long ' Pointer To Apps Print Function
UZDLLSND As Long ' Pointer To Apps Sound Function
UZDLLREPLACE As Long ' Pointer To Apps Replace Function
UZDLLPASSWORD As Long ' Pointer To Apps Password Function
' 64-bit versions (VB6 does not support passing 64-bit values!)
UZDLLMESSAGE As Long ' Pointer To Apps Message Function (Not Used!)
UZDLLSERVICE As Long ' Pointer To Apps Service Function (Not Used!)
' 32-bit versions
UZDLLMESSAGE_I32 As Long ' Pointer To Apps Message Function
UZDLLSERVICE_I32 As Long ' Pointer To Apps Service Function
' All 64-bit values passed as low and high parts!
TotalSizeComp_Lo As Long ' Total Size Of Zip Archive (low 32 bits)
TotalSizeComp_Hi As Long ' Total Size Of Zip Archive (high 32 bits)
TotalSize_Lo As Long ' Total Size Of All Files In Archive (low 32)
TotalSize_Hi As Long ' Total Size Of All Files In Archive (high 32)
NumMembers_Lo As Long ' Total Number Of All Files In The Archive (low 32)
NumMembers_Hi As Long ' Total Number Of All Files In The Archive (high 32)
CompFactor As Long ' Compression Factor
cchComment As Integer ' Flag If Archive Has A Comment!
End Type
 
'-- UNZIP32.DLL Version Structure
Private Type UZPVER2
structlen As Long ' Length Of The Structure Being Passed
flag As Long ' Bit 0: is_beta bit 1: uses_zlib
beta As String * 10 ' e.g., "g BETA" or ""
date As String * 20 ' e.g., "4 Sep 95" (beta) or "4 September 1995"
zlib As String * 10 ' e.g., "1.0.5" or NULL
unzip(1 To 4) As Byte ' Version Type Unzip
zipinfo(1 To 4) As Byte ' Version Type Zip Info
os2dll As Long ' Version Type OS2 DLL
windll(1 To 4) As Byte ' Version Type Windows DLL
dllapimin(1 To 4) As Byte ' Version Type DLL API minimum compatibility
End Type
 
'-- This assumes UNZIP32.DLL is somewhere on your execution path!
'-- The term "execution path" means a search in the following locations,
'-- in the listed sequence (for more details look up the documentation
'-- of the LoadLibrary() Win32 API call):
'-- 1) the directory from which the VB6 application was loaded,
'-- 2) your current working directory in effect when the VB6 program
'-- tries to access a first API call of UNZIP32.DLL,
'-- 3) the Windows "SYSTEM32" (only NT/2K/XP...) and "SYSTEM" directories,
'-- and the Windows directory,
'-- 4) the folder list of your command path (e.g. check the environment
'-- variable PATH as set in a console window started from scratch).
'-- Normally, the Windows system directory is on your command path,
'-- so installing the UNZIP32.DLL in the Windows System Directory
'-- should always work.
'--
'-- WARNING:
'-- When a VB6 program is run in the VB6 IDE, the "directory from which the
'-- application was loaded" is the
'-- ===>>> directory where VB6.EXE is stored (!!!),
'-- not the storage directory of the VB project file
'-- (the folder returned by "App.Path").
'-- When a compiled VB6 program is run, the "application load directory"
'-- is identical with the folder reported by "App.Path".
'--
Private Declare Function Wiz_SingleEntryUnzip Lib "unzip32.dll" _
(ByVal ifnc As Long, ByRef ifnv As UNZIPnames, _
ByVal xfnc As Long, ByRef xfnv As UNZIPnames, _
dcll As DCLIST, Userf As USERFUNCTION) As Long
 
Private Declare Function UzpVersion2 Lib "unzip32.dll" _
(uzpv As UZPVER2) As Long
 
'-- Private variable holding the API version id as reported by the
'-- loaded UnZip DLL
Private m_UzDllApiVers As Long
 
'-- Private Variables For Structure Access
Private UZDCL As DCLIST
Private UZUSER As USERFUNCTION
Private UZVER2 As UZPVER2
 
'-- Public Variables For Setting The
'-- UNZIP32.DLL DCLIST Structure
'-- These Must Be Set Before The Actual Call To VBUnZip32
Public uExtractOnlyNewer As Long ' 1 = Extract Only Newer/New, Else 0
Public uSpaceUnderScore As Long ' 1 = Convert Space To Underscore, Else 0
Public uPromptOverWrite As Long ' 1 = Prompt To Overwrite Required, Else 0
Public uQuiet As Long ' 2 = No Messages, 1 = Less, 0 = All
Public uWriteStdOut As Long ' 1 = Write To Stdout, Else 0
Public uTestZip As Long ' 1 = Test Zip File, Else 0
Public uExtractList As Long ' 0 = Extract, 1 = List Contents
Public uFreshenExisting As Long ' 1 = Update Existing by Newer, Else 0
Public uDisplayComment As Long ' 1 = Display Zip File Comment, Else 0
Public uHonorDirectories As Long ' 1 = Honor Directories, Else 0
Public uOverWriteFiles As Long ' 1 = Overwrite Files, Else 0
Public uConvertCR_CRLF As Long ' 1 = Convert CR To CRLF, Else 0
Public uVerbose As Long ' 1 = Zip Info Verbose
Public uCaseSensitivity As Long ' 1 = Case Insensitivity, 0 = Case Sensitivity
Public uPrivilege As Long ' 1 = ACL, 2 = Privileges, Else 0
Public uZipFileName As String ' The Zip File Name
Public uExtractDir As String ' Extraction Directory, Null If Current Directory
 
'-- Public Program Variables
Public uZipNumber As Long ' Zip File Number
Public uNumberFiles As Long ' Number Of Files
Public uNumberXFiles As Long ' Number Of Extracted Files
Public uZipMessage As String ' For Zip Message
Public uZipInfo As String ' For Zip Information
Public uZipNames As UNZIPnames ' Names Of Files To Unzip
Public uExcludeNames As UNZIPnames ' Names Of Zip Files To Exclude
Public uVbSkip As Boolean ' For DLL Password Function
 
'-- Puts A Function Pointer In A Structure
'-- For Callbacks.
Public Function FnPtr(ByVal lp As Long) As Long
 
FnPtr = lp
 
End Function
 
'-- Callback For UNZIP32.DLL - Receive Message Function
Public Sub UZReceiveDLLMessage_I32( _
ByVal ucsize_lo As Long, _
ByVal ucsize_hi As Long, _
ByVal csiz_lo As Long, _
ByVal csiz_hi As Long, _
ByVal cfactor As Integer, _
ByVal mo As Integer, _
ByVal dy As Integer, _
ByVal yr As Integer, _
ByVal hh As Integer, _
ByVal mm As Integer, _
ByVal c As Byte, _
ByRef fname As UNZIPCBCh, _
ByRef meth As UNZIPCBCh, _
ByVal crc As Long, _
ByVal fCrypt As Byte)
 
Dim s0 As String
Dim xx As Long
Dim cCh As Byte
Dim strout As String * 80
Dim ucsize As Double
Dim csiz As Double
 
'-- Always implement a runtime error handler in Callback Routines!
On Error Resume Next
 
'------------------------------------------------
'-- This Is Where The Received Messages Are
'-- Printed Out And Displayed.
'-- You Can Modify Below!
'------------------------------------------------
 
strout = Space$(80)
 
'-- For Zip Message Printing
If uZipNumber = 0 Then
Mid$(strout, 1, 50) = "Filename:"
Mid$(strout, 53, 4) = "Size"
Mid$(strout, 62, 4) = "Date"
Mid$(strout, 71, 4) = "Time"
uZipMessage = strout & vbNewLine
strout = Space$(80)
End If
 
s0 = ""
 
'-- Do Not Change This For Next!!!
For xx = 0 To UBound(fname.ch)
If fname.ch(xx) = 0 Then Exit For
s0 = s0 & Chr$(fname.ch(xx))
Next
 
ucsize = CnvI64Struct2Dbl(ucsize_lo, ucsize_hi)
csiz = CnvI64Struct2Dbl(csiz_lo, csiz_hi)
 
'-- Assign Zip Information For Printing
Mid$(strout, 1, 50) = Mid$(s0, 1, 50)
Mid$(strout, 51, 9) = Right$(" " & CStr(ucsize), 9)
Mid$(strout, 62, 3) = Right$("0" & Trim$(CStr(mo)), 2) & "/"
Mid$(strout, 65, 3) = Right$("0" & Trim$(CStr(dy)), 2) & "/"
Mid$(strout, 68, 2) = Right$("0" & Trim$(CStr(yr)), 2)
Mid$(strout, 72, 3) = Right$(Str$(hh), 2) & ":"
Mid$(strout, 75, 2) = Right$("0" & Trim$(CStr(mm)), 2)
 
' Mid$(strout, 77, 2) = Right$(" " & CStr(cfactor), 2)
' Mid$(strout, 80, 8) = Right$(" " & CStr(csiz), 8)
' s0 = ""
' For xx = 0 To 255
' If meth.ch(xx) = 0 Then Exit For
' s0 = s0 & Chr$(meth.ch(xx))
' Next xx
 
'-- Do Not Modify Below!!!
uZipMessage = uZipMessage & strout & vbNewLine
uZipNumber = uZipNumber + 1
 
End Sub
 
'-- Callback For UNZIP32.DLL - Print Message Function
Public Function UZDLLPrnt(ByRef fname As UNZIPCBChar, ByVal x As Long) As Long
 
Dim s0 As String
Dim xx As Long
Dim cCh As Byte
 
'-- Always implement a runtime error handler in Callback Routines!
On Error Resume Next
 
s0 = ""
 
'-- Gets The UNZIP32.DLL Message For Displaying.
For xx = 0 To x - 1
cCh = fname.ch(xx)
Select Case cCh
Case 0
Exit For
Case 10
s0 = s0 & vbNewLine ' Damn UNIX :-)
Case 92 ' = Asc("\")
s0 = s0 & "/"
Case Else
s0 = s0 & Chr$(cCh)
End Select
Next
 
'-- Assign Zip Information
uZipInfo = uZipInfo & s0
 
UZDLLPrnt = 0
 
End Function
 
'-- Callback For UNZIP32.DLL - DLL Service Function
Public Function UZDLLServ_I32(ByRef mname As UNZIPCBChar, _
ByVal lUcSiz_Lo As Long, ByVal lUcSiz_Hi As Long) As Long
 
Dim UcSiz As Double
Dim s0 As String
Dim xx As Long
 
'-- Always implement a runtime error handler in Callback Routines!
On Error Resume Next
 
' Parameters lUcSiz_Lo and lUcSiz_Hi contain the uncompressed size
' of the extracted archive entry.
' This information may be used for some kind of progress display...
UcSiz = CnvI64Struct2Dbl(lUcSiz_Lo, lUcSiz_Hi)
 
s0 = ""
'-- Get Zip32.DLL Message For processing
For xx = 0 To UBound(mname.ch)
If mname.ch(xx) = 0 Then Exit For
s0 = s0 & Chr$(mname.ch(xx))
Next
' At this point, s0 contains the message passed from the DLL
' (like the current file being extracted)
' It is up to the developer to code something useful here :)
 
UZDLLServ_I32 = 0 ' Setting this to 1 will abort the zip!
 
End Function
 
'-- Callback For UNZIP32.DLL - Password Function
Public Function UZDLLPass(ByRef pwbuf As UNZIPCBCh, _
ByVal bufsiz As Long, ByRef promptmsg As UNZIPCBCh, _
ByRef entryname As UNZIPCBCh) As Long
 
Dim prompt As String
Dim xx As Long
Dim szpassword As String
 
'-- Always implement a runtime error handler in Callback Routines!
On Error Resume Next
 
UZDLLPass = -1 'IZ_PW_CANCEL
 
If uVbSkip Then Exit Function
 
'-- Get the Password prompt
For xx = 0 To UBound(promptmsg.ch)
If promptmsg.ch(xx) = 0 Then Exit For
prompt = prompt & Chr$(promptmsg.ch(xx))
Next
If Len(prompt) = 0 Then
prompt = "Please Enter The Password!"
Else
prompt = prompt & " "
For xx = 0 To UBound(entryname.ch)
If entryname.ch(xx) = 0 Then Exit For
prompt = prompt & Chr$(entryname.ch(xx))
Next
End If
 
'-- Get The Zip File Password
Do
szpassword = InputBox(prompt)
If Len(szpassword) < bufsiz Then Exit Do
' -- Entered password exceeds UnZip's password buffer size
If MsgBox("The supplied password exceeds the maximum password length " _
& CStr(bufsiz - 1) & " supported by the UnZip DLL." _
, vbExclamation + vbRetryCancel, "UnZip password too long") _
= vbCancel Then
szpassword = ""
Exit Do
End If
Loop
 
'-- No Password So Exit The Function
If Len(szpassword) = 0 Then
uVbSkip = True
Exit Function
End If
 
'-- Zip File Password So Process It
For xx = 0 To bufsiz - 1
pwbuf.ch(xx) = 0
Next
'-- Password length has already been checked, so
'-- it will fit into the communication buffer.
For xx = 0 To Len(szpassword) - 1
pwbuf.ch(xx) = Asc(Mid$(szpassword, xx + 1, 1))
Next
 
pwbuf.ch(xx) = 0 ' Put Null Terminator For C
 
UZDLLPass = 0 ' IZ_PW_ENTERED
 
End Function
 
'-- Callback For UNZIP32.DLL - Report Function To Overwrite Files.
'-- This Function Will Display A MsgBox Asking The User
'-- If They Would Like To Overwrite The Files.
Public Function UZDLLReplacePrmt(ByRef fname As UNZIPCBChar, _
ByVal fnbufsiz As Long) As Long
 
Dim s0 As String
Dim xx As Long
Dim cCh As Byte
Dim bufmax As Long
 
'-- Always implement a runtime error handler in Callback Routines!
On Error Resume Next
 
UZDLLReplacePrmt = 100 ' 100 = Do Not Overwrite - Keep Asking User
s0 = ""
bufmax = UBound(fname.ch)
If bufmax >= fnbufsiz Then bufmax = fnbufsiz - 1
 
For xx = 0 To bufmax
cCh = fname.ch(xx)
Select Case cCh
Case 0
Exit For
Case 92 ' = Asc("\")
s0 = s0 & "/"
Case Else
s0 = s0 & Chr$(cCh)
End Select
Next
 
'-- This Is The MsgBox Code
xx = MsgBox("Overwrite """ & s0 & """ ?", vbExclamation Or vbYesNoCancel, _
"VBUnZip32 - File Already Exists!")
Select Case xx
Case vbYes
UZDLLReplacePrmt = 102 ' 102 = Overwrite, 103 = Overwrite All
Case vbCancel
UZDLLReplacePrmt = 104 ' 104 = Overwrite None
Case Else
'keep the default as set at function entry.
End Select
 
End Function
 
'-- ASCIIZ To String Function
Public Function szTrim(szString As String) As String
 
Dim pos As Long
 
pos = InStr(szString, vbNullChar)
 
Select Case pos
Case Is > 1
szTrim = Trim$(Left$(szString, pos - 1))
Case 1
szTrim = ""
Case Else
szTrim = Trim$(szString)
End Select
 
End Function
 
'-- convert a 64-bit int divided in two Int32 variables into
'-- a single 64-bit floating-point value
Private Function CnvI64Struct2Dbl(ByVal lInt64Lo As Long, lInt64Hi As Long) As Double
If lInt64Lo < 0 Then
CnvI64Struct2Dbl = 2# ^ 32 + CDbl(lInt64Lo)
Else
CnvI64Struct2Dbl = CDbl(lInt64Lo)
End If
CnvI64Struct2Dbl = CnvI64Struct2Dbl + (2# ^ 32) * CDbl(lInt64Hi)
End Function
 
'-- Concatenate a "structured" version number into a single integer value,
'-- to facilitate version number comparisons
'-- (In case the practically used NumMajor numbers will ever exceed 128, it
'-- should be considered to use the number type "Double" to store the
'-- concatenated number. "Double" can store signed integer numbers up to a
'-- width of 52 bits without loss of precision.)
Private Function ConcatVersNums(ByVal NumMajor As Byte, ByVal NumMinor As Byte _
, ByVal NumRevis As Byte, ByVal NumBuild As Byte) As Long
If (NumMajor And &H80) <> 0 Then
ConcatVersNums = (NumMajor And &H7F) * (2 ^ 24) Or &H80000000
Else
ConcatVersNums = NumMajor * (2 ^ 24)
End If
ConcatVersNums = ConcatVersNums _
+ NumMinor * (2 ^ 16) _
+ NumRevis * (2 ^ 8) _
+ NumBuild
End Function
 
'-- Helper function to provide a printable version number string, using the
'-- current formatting rule for version number display as implemented in UnZip.
Private Function VersNumsToTxt(ByVal NumMajor As Byte, ByVal NumMinor As Byte _
, ByVal NumRevis As Byte) As String
VersNumsToTxt = CStr(NumMajor) & "." & Hex$(NumMinor)
If NumRevis <> 0 Then VersNumsToTxt = VersNumsToTxt & Hex$(NumRevis)
End Function
 
'-- Helper function to convert a "concatenated" version id into a printable
'-- version number string, using the current formatting rule for version number
'-- display as implemented in UnZip.
Private Function VersIDToTxt(ByVal VersionID As Long) As String
Dim lNumTemp As Long
 
lNumTemp = VersionID \ (2 ^ 24)
If lNumTemp < 0 Then lNumTemp = 256 + lNumTemp
VersIDToTxt = CStr(lNumTemp) & "." _
& Hex$((VersionID And &HFF0000) \ &H10000)
lNumTemp = (VersionID And &HFF00&) \ &H100
If lNumTemp <> 0 Then VersIDToTxt = VersIDToTxt & Hex$(lNumTemp)
End Function
 
'-- Main UNZIP32.DLL UnZip32 Subroutine
'-- (WARNING!) Do Not Change!
Public Sub VBUnZip32()
 
Dim retcode As Long
Dim MsgStr As String
Dim TotalSizeComp As Double
Dim TotalSize As Double
Dim NumMembers As Double
 
'-- Set The UNZIP32.DLL Options
'-- (WARNING!) Do Not Change
UZDCL.StructVersID = cUz_DCLStructVer ' Current version of this structure
UZDCL.ExtractOnlyNewer = uExtractOnlyNewer ' 1 = Extract Only Newer/New
UZDCL.SpaceToUnderscore = uSpaceUnderScore ' 1 = Convert Space To Underscore
UZDCL.PromptToOverwrite = uPromptOverWrite ' 1 = Prompt To Overwrite Required
UZDCL.fQuiet = uQuiet ' 2 = No Messages 1 = Less 0 = All
UZDCL.ncflag = uWriteStdOut ' 1 = Write To Stdout
UZDCL.ntflag = uTestZip ' 1 = Test Zip File
UZDCL.nvflag = uExtractList ' 0 = Extract 1 = List Contents
UZDCL.nfflag = uFreshenExisting ' 1 = Update Existing by Newer
UZDCL.nzflag = uDisplayComment ' 1 = Display Zip File Comment
UZDCL.ndflag = uHonorDirectories ' 1 = Honour Directories
UZDCL.noflag = uOverWriteFiles ' 1 = Overwrite Files
UZDCL.naflag = uConvertCR_CRLF ' 1 = Convert CR To CRLF
UZDCL.nZIflag = uVerbose ' 1 = Zip Info Verbose
UZDCL.C_flag = uCaseSensitivity ' 1 = Case insensitivity, 0 = Case Sensitivity
UZDCL.fPrivilege = uPrivilege ' 1 = ACL 2 = Priv
UZDCL.Zip = uZipFileName ' ZIP Filename
UZDCL.ExtractDir = uExtractDir ' Extraction Directory, NULL If Extracting
' To Current Directory
 
'-- Set Callback Addresses
'-- (WARNING!!!) Do Not Change
UZUSER.UZDLLPrnt = FnPtr(AddressOf UZDLLPrnt)
UZUSER.UZDLLSND = 0& '-- Not Supported
UZUSER.UZDLLREPLACE = FnPtr(AddressOf UZDLLReplacePrmt)
UZUSER.UZDLLPASSWORD = FnPtr(AddressOf UZDLLPass)
UZUSER.UZDLLMESSAGE_I32 = FnPtr(AddressOf UZReceiveDLLMessage_I32)
UZUSER.UZDLLSERVICE_I32 = FnPtr(AddressOf UZDLLServ_I32)
 
'-- Set UNZIP32.DLL Version Space
'-- (WARNING!!!) Do Not Change
With UZVER2
.structlen = Len(UZVER2)
.beta = String$(10, vbNullChar)
.date = String$(20, vbNullChar)
.zlib = String$(10, vbNullChar)
End With
 
'-- Get Version
retcode = UzpVersion2(UZVER2)
If retcode <> 0 Then
MsgBox "Incompatible DLL version discovered!" & vbNewLine _
& "The UnZip DLL requires a version structure of length " _
& CStr(retcode) & ", but the VB frontend expects the DLL to need " _
& Len(UZVER2) & "bytes." & vbNewLine _
& vbNewLine & "The program cannot continue." _
, vbCritical + vbOKOnly, App.Title
Exit Sub
End If
 
' Check that the DLL version is sufficiently recent
If (ConcatVersNums(UZVER2.unzip(1), UZVER2.unzip(2) _
, UZVER2.unzip(3), UZVER2.unzip(4)) < _
ConcatVersNums(cUzDLL_MinVer_Major, cUzDLL_MinVer_Minor _
, cUzDLL_MinVer_Revis, 0)) Then
' The found UnZip DLL is too old!
MsgBox "Incompatible old DLL version discovered!" & vbNewLine _
& "This program requires an UnZip DLL version of at least " _
& VersNumsToTxt(cUzDLL_MinVer_Major, cUzDLL_MinVer_Minor, cUzDLL_MinVer_Revis) _
& ", but the version reported by the found DLL is only " _
& VersNumsToTxt(UZVER2.unzip(1), UZVER2.unzip(2), UZVER2.unzip(3)) _
& "." & vbNewLine _
& vbNewLine & "The program cannot continue." _
, vbCritical + vbOKOnly, App.Title
Exit Sub
End If
 
' Concatenate the DLL API version info into a single version id variable.
' This variable may be used later on to switch between different
' known variants of specific API calls or API structures.
m_UzDllApiVers = ConcatVersNums(UZVER2.dllapimin(1), UZVER2.dllapimin(2) _
, UZVER2.dllapimin(3), UZVER2.dllapimin(4))
' check that the DLL API version is not too new
If (m_UzDllApiVers > _
ConcatVersNums(cUzDLL_MaxAPI_Major, cUzDLL_MaxAPI_Minor _
, cUzDLL_MaxAPI_Revis, 0)) Then
' The found UnZip DLL is too new!
MsgBox "DLL version with incompatible API discovered!" & vbNewLine _
& "This program can only handle UnZip DLL API versions up to " _
& VersNumsToTxt(cUzDLL_MaxAPI_Major, cUzDLL_MaxAPI_Minor, cUzDLL_MaxAPI_Revis) _
& ", but the found DLL reports a newer API version of " _
& VersIDToTxt(m_UzDllApiVers) & "." & vbNewLine _
& vbNewLine & "The program cannot continue." _
, vbCritical + vbOKOnly, App.Title
Exit Sub
End If
 
'--------------------------------------
'-- You Can Change This For Displaying
'-- The Version Information!
'--------------------------------------
MsgStr$ = "DLL Date: " & szTrim(UZVER2.date)
MsgStr$ = MsgStr$ & vbNewLine$ & "Zip Info: " _
& VersNumsToTxt(UZVER2.zipinfo(1), UZVER2.zipinfo(2), UZVER2.zipinfo(3))
MsgStr$ = MsgStr$ & vbNewLine$ & "DLL Version: " _
& VersNumsToTxt(UZVER2.windll(1), UZVER2.windll(2), UZVER2.windll(3))
MsgStr$ = MsgStr$ & vbNewLine$ & "DLL API Compatibility: " _
& VersIDToTxt(m_UzDllApiVers)
MsgStr$ = MsgStr$ & vbNewLine$ & "--------------"
'-- End Of Version Information.
 
'-- Go UnZip The Files! (Do Not Change Below!!!)
'-- This Is The Actual UnZip Routine
retcode = Wiz_SingleEntryUnzip(uNumberFiles, uZipNames, uNumberXFiles, _
uExcludeNames, UZDCL, UZUSER)
'---------------------------------------------------------------
 
'-- If There Is An Error Display A MsgBox!
If retcode <> 0 Then _
MsgBox "UnZip DLL call returned error code #" & CStr(retcode) _
, vbExclamation, App.Title
 
'-- Add up 64-bit values
TotalSizeComp = CnvI64Struct2Dbl(UZUSER.TotalSizeComp_Lo, _
UZUSER.TotalSizeComp_Hi)
TotalSize = CnvI64Struct2Dbl(UZUSER.TotalSize_Lo, _
UZUSER.TotalSize_Hi)
NumMembers = CnvI64Struct2Dbl(UZUSER.NumMembers_Lo, _
UZUSER.NumMembers_Hi)
 
'-- You Can Change This As Needed!
'-- For Compression Information
MsgStr$ = MsgStr$ & vbNewLine & _
"Only Shows If uExtractList = 1 List Contents"
MsgStr$ = MsgStr$ & vbNewLine & "--------------"
MsgStr$ = MsgStr$ & vbNewLine & "Comment : " & UZUSER.cchComment
MsgStr$ = MsgStr$ & vbNewLine & "Total Size Comp : " _
& Format$(TotalSizeComp, "#,0")
MsgStr$ = MsgStr$ & vbNewLine & "Total Size : " _
& Format$(TotalSize, "#,0")
MsgStr$ = MsgStr$ & vbNewLine & "Compress Factor : %" & UZUSER.CompFactor
MsgStr$ = MsgStr$ & vbNewLine & "Num Of Members : " & NumMembers
MsgStr$ = MsgStr$ & vbNewLine & "--------------"
 
VBUnzFrm.txtMsgOut.Text = VBUnzFrm.txtMsgOut.Text & MsgStr$ & vbNewLine
End Sub
/programs/fs/unzip60/windll/vb/vbunzip.frm
0,0 → 1,384
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
Begin VB.Form VBUnzFrm
AutoRedraw = -1 'True
Caption = "VBUnzFrm"
ClientHeight = 4785
ClientLeft = 780
ClientTop = 525
ClientWidth = 9375
BeginProperty Font
Name = "Fixedsys"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "VBUnzFrm"
ScaleHeight = 4785
ScaleWidth = 9375
StartUpPosition = 1 'Fenstermitte
Begin VB.CheckBox checkOverwriteAll
Alignment = 1 'Rechts ausgerichtet
Caption = "Overwrite all?"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 5
Top = 1320
Width = 4425
End
Begin VB.TextBox txtZipFName
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4440
TabIndex = 1
Top = 120
Width = 4335
End
Begin VB.TextBox txtExtractRoot
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4440
TabIndex = 4
Top = 720
Width = 4335
End
Begin VB.CommandButton cmdStartUnz
Caption = "Start"
Height = 495
Left = 240
TabIndex = 6
Top = 1800
Width = 3255
End
Begin VB.TextBox txtMsgOut
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2175
Left = 240
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 3 'Beides
TabIndex = 8
TabStop = 0 'False
Top = 2520
Width = 8895
End
Begin VB.CommandButton cmdQuitVBUnz
Cancel = -1 'True
Caption = "Quit"
Height = 495
Left = 6240
TabIndex = 7
Top = 1800
Width = 2895
End
Begin VB.CommandButton cmdSearchZfile
Caption = "..."
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 8760
TabIndex = 2
Top = 120
Width = 375
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4800
Top = 1800
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Label Label1
Caption = "Complete path-name of Zip-archive:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 0
Top = 120
Width = 3855
End
Begin VB.Label Label2
Caption = "Extract archive into directory:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 3
Top = 720
Width = 3855
End
End
Attribute VB_Name = "VBUnzFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
 
'---------------------------------------------------
'-- Please Do Not Remove These Comment Lines!
'----------------------------------------------------------------
'-- Sample VB 5 / VB 6 code to drive unzip32.dll
'-- Contributed to the Info-ZIP project by Mike Le Voi
'--
'-- Contact me at: mlevoi@modemss.brisnet.org.au
'--
'-- Visit my home page at: http://modemss.brisnet.org.au/~mlevoi
'--
'-- Use this code at your own risk. Nothing implied or warranted
'-- to work on your machine :-)
'----------------------------------------------------------------
'--
'-- This Source Code Is Freely Available From The Info-ZIP Project
'-- Web Server At:
'-- ftp://ftp.info-zip.org/pub/infozip/infozip.html
'--
'-- A Very Special Thanks To Mr. Mike Le Voi
'-- And Mr. Mike White
'-- And The Fine People Of The Info-ZIP Group
'-- For Letting Me Use And Modify Their Orginal
'-- Visual Basic 5.0 Code! Thank You Mike Le Voi.
'-- For Your Hard Work In Helping Me Get This To Work!!!
'---------------------------------------------------------------
'--
'-- Contributed To The Info-ZIP Project By Raymond L. King.
'-- Modified June 21, 1998
'-- By Raymond L. King
'-- Custom Software Designers
'--
'-- Contact Me At: king@ntplx.net
'-- ICQ 434355
'-- Or Visit Our Home Page At: http://www.ntplx.net/~king
'--
'---------------------------------------------------------------
'--
'-- Modified August 17, 1998
'-- by Christian Spieler
'-- (added sort of a "windows oriented" user interface)
'-- Modified May 11, 2003
'-- by Christian Spieler
'-- (use late binding for referencing the common dialog)
'-- Modified December 30, 2008
'-- by Ed Gordon
'-- (add Overwrite_All checkbox and resizing of txtMsgOut
'-- output box)
'-- Modified January 03, 2009
'-- by Christian Spieler
'-- (fixed tab navigation sequence, changed passing of
'-- "overwrite-all" setting to use existing option flags,
'-- cleared all msg buffer at start of every DLL call,
'-- removed code that is not supported by VB5)
'--
'---------------------------------------------------------------
 
Private mCommDlgCtrl As Object
 
Private Sub cmdStartUnz_Click()
 
Dim MsgTmp As String
Cls
txtMsgOut.Text = ""
'-- Init Global Message Variables
uZipInfo = ""
uZipMessage = ""
uZipNumber = 0 ' Holds The Number Of Zip Files
'-- Select UNZIP32.DLL Options - Change As Required!
' 1 = Always Overwrite Files
uOverWriteFiles = Me.checkOverwriteAll.Value
' 1 = Prompt To Overwrite
uPromptOverWrite = IIf(uOverWriteFiles = 0, 1, 0)
uDisplayComment = 0 ' 1 = Display comment ONLY!!!
uHonorDirectories = 1 ' 1 = Honour Zip Directories
'-- Select Filenames If Required
'-- Or Just Select All Files
uZipNames.uzFiles(0) = vbNullString
uNumberFiles = 0
'-- Select Filenames To Exclude From Processing
' Note UNIX convention!
' vbxnames.s(0) = "VBSYX/VBSYX.MID"
' vbxnames.s(1) = "VBSYX/VBSYX.SYX"
' numx = 2
'-- Or Just Select All Files
uExcludeNames.uzFiles(0) = vbNullString
uNumberXFiles = 0
'-- Change The Next 2 Lines As Required!
'-- These Should Point To Your Directory
uZipFileName = txtZipFName.Text
uExtractDir = txtExtractRoot.Text
If Len(uExtractDir) <> 0 Then
uExtractList = 0 ' 0 = Extract if dir specified
Else
uExtractList = 1 ' 1 = List Contents Of Zip
End If
'-- Let's Go And Unzip Them!
Call VBUnZip32
'-- Tell The User What Happened
If Len(uZipMessage) > 0 Then
MsgTmp = uZipMessage
uZipMessage = ""
End If
'-- Display Zip File Information.
If Len(uZipInfo) > 0 Then
MsgTmp = MsgTmp & vbNewLine & "uZipInfo is:" & vbNewLine & uZipInfo
uZipInfo = ""
End If
'-- Display The Number Of Extracted Files!
If uZipNumber > 0 Then
MsgTmp = MsgTmp & vbNewLine & "Number Of Files: " & Str(uZipNumber)
End If
txtMsgOut.Text = txtMsgOut.Text & MsgTmp & vbNewLine
End Sub
 
 
Private Sub Form_Load()
'-- To work around compatibility issues between different versions of
'-- Visual Basic, we use a late bound untyped object variable to reference
'-- the common dialog ActiveX-control object at runtime.
On Error Resume Next
Set mCommDlgCtrl = CommonDialog1
On Error GoTo 0
'-- Disable the "call openfile dialog" button, when the common dialog
'-- object is not available
cmdSearchZfile.Visible = Not (mCommDlgCtrl Is Nothing)
txtZipFName.Text = vbNullString
txtExtractRoot.Text = vbNullString
Me.Show
End Sub
 
Private Sub Form_Resize()
Dim Wid As Single
Dim Hei As Single
Wid = Me.Width - 600 ' 9495 - 8895
If Wid < 2000 Then Wid = 2000
txtMsgOut.Width = Wid
Hei = Me.Height - 3120 ' 5295 - 2175
If Hei < 1000 Then Hei = 1000
txtMsgOut.Height = Hei
 
End Sub
 
Private Sub Form_Unload(Cancel As Integer)
'-- remove runtime reference to common dialog control object
Set mCommDlgCtrl = Nothing
End Sub
 
 
Private Sub cmdQuitVBUnz_Click()
Unload Me
End Sub
 
 
Private Sub cmdSearchZfile_Click()
If mCommDlgCtrl Is Nothing Then Exit Sub
mCommDlgCtrl.CancelError = False
mCommDlgCtrl.DialogTitle = "Open Zip-archive"
'-- The following property is not supported in the first version(s)
'-- of the common dialog controls. But this feature is of minor
'-- relevance in our context, so we simply skip over the statement
'-- in case of errors.
On Error Resume Next
mCommDlgCtrl.DefaultExt = ".zip"
On Error GoTo err_deactivateControl
'-- Initialize the file name with the current setting of the filename
'-- text box.
mCommDlgCtrl.FileName = txtZipFName.Text
'-- Provide reasonable filter settings for selecting Zip archives.
mCommDlgCtrl.Filter = "Zip archives (*.zip)|*.zip|All files (*.*)|*.*"
mCommDlgCtrl.ShowOpen
'-- In case the user closed the dialog via cancel, the FilenName
'-- property contains its initial setting and no change occurs.
txtZipFName.Text = mCommDlgCtrl.FileName
Exit Sub
 
err_deactivateControl:
'-- Emit a warning message.
MsgBox "Unexpected error #" & CStr(Err.Number) & " in call to ComDLG32" _
& " FileOpen dialog:" & vbNewLine & Err.Description & vbNewLine _
& vbNewLine & "The version of the COMDLG32.OCX control installed" _
& " on your system seems to be too old. Please consider upgrading" _
& " to a recent release of the Common Dialog ActiveX control." _
& vbNewLine & "The ""Choose File from List"" dialog functionality" _
& " has been disabled for this session.", _
vbCritical + vbOKOnly, "FileOpen Dialog incompatible"
'-- Deactivate the control and prevent further usage in this session.
Set mCommDlgCtrl = Nothing
cmdSearchZfile.Enabled = False
End Sub
 
/programs/fs/unzip60/windll/vb/vbunzip.vbp
0,0 → 1,34
Type=Exe
Form=vbunzip.frm
Module=VBUnzBas; vbunzip.bas
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0; COMDLG32.OCX
IconForm="VBUnzFrm"
Startup="VBUnzFrm"
HelpFile=""
Title="VBUnZip"
ExeName32="VBunzip.exe"
Command32=""
Name="VBUnzipProject"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName="Info-ZIP"
VersionLegalCopyright="(c) Info-ZIP 1998-2009"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
ThreadPerObject=0
MaxNumberOfThreads=1
/programs/fs/unzip60/windll/vc5/dll/unz32dll.dsp
0,0 → 1,348
# Microsoft Developer Studio Project File - Name="unz32dll" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
 
CFG=unz32dll - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unz32dll.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unz32dll.mak" CFG="unz32dll - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unz32dll - Win32 Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Static Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Static Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Static Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Static Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
 
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "unz32dll - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/app"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../Release/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/app"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../Debug/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM/app"
# PROP Intermediate_Dir "Release.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../Release.ASM/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM/app"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../Debug.ASM/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease/app"
# PROP Intermediate_Dir "StatRelease"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../StatRelease/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug/app"
# PROP Intermediate_Dir "StatDebug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../StatDebug/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease.ASM/app"
# PROP Intermediate_Dir "StatRelease.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../StatRelease.ASM/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug.ASM/app"
# PROP Intermediate_Dir "StatDebug.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../StatDebug.ASM/app/unzip32.dll" /pdbtype:sept
 
!ENDIF
 
# Begin Target
 
# Name "unz32dll - Win32 Release"
# Name "unz32dll - Win32 Debug"
# Name "unz32dll - Win32 ASM Release"
# Name "unz32dll - Win32 ASM Debug"
# Name "unz32dll - Win32 Static Release"
# Name "unz32dll - Win32 Static Debug"
# Name "unz32dll - Win32 ASM Static Release"
# Name "unz32dll - Win32 ASM Static Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\explode.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\list.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unreduce.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unshrink.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.rc
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll32.def
# End Source File
# Begin Source File
 
SOURCE=..\..\..\zipinfo.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc5/exampl/c_dll_ex.dsp
0,0 → 1,151
# Microsoft Developer Studio Project File - Name="c_dll_ex" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Console Application" 0x0103
 
CFG=c_dll_ex - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "c_dll_ex.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "c_dll_ex.mak" CFG="c_dll_ex - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "c_dll_ex - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Static Release" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Static Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
 
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "c_dll_ex - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/app"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386 /out:"../Release/app/uzexampl.exe"
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/app"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /out:"../Debug/app/uzexampl.exe" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease/app"
# PROP Intermediate_Dir "StatRelease"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386 /out:"../StatRelease/app/uzexampl.exe"
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug/app"
# PROP Intermediate_Dir "StatDebug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /out:"../StatDebug/app/uzexampl.exe" /pdbtype:sept
 
!ENDIF
 
# Begin Target
 
# Name "c_dll_ex - Win32 Release"
# Name "c_dll_ex - Win32 Debug"
# Name "c_dll_ex - Win32 Static Release"
# Name "c_dll_ex - Win32 Static Debug"
# Begin Group "Source Files"
 
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
 
SOURCE=..\..\uzexampl.c
# End Source File
# End Group
# Begin Group "Header Files"
 
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
 
SOURCE=..\..\uzexampl.h
# End Source File
# End Group
# End Target
# End Project
/programs/fs/unzip60/windll/vc5/lib/unz32lib.dsp
0,0 → 1,212
# Microsoft Developer Studio Project File - Name="unz32lib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Static Library" 0x0104
 
CFG=unz32lib - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unz32lib.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unz32lib.mak" CFG="unz32lib - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unz32lib - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 ASM Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 ASM Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
 
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
 
!IF "$(CFG)" == "unz32lib - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/libs"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /FD /c
# SUBTRACT CPP /YX
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Release/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/libs"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /FD /c
# SUBTRACT CPP /YX
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Debug/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM/libs"
# PROP Intermediate_Dir "Release.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /D "ASM_CRC" /FD /c
# SUBTRACT CPP /YX
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Release.ASM/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM/libs"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /D "ASM_CRC" /FD /c
# SUBTRACT CPP /YX
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Debug.ASM/libs/unzip32.lib"
 
!ENDIF
 
# Begin Target
 
# Name "unz32lib - Win32 Release"
# Name "unz32lib - Win32 Debug"
# Name "unz32lib - Win32 ASM Release"
# Name "unz32lib - Win32 ASM Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\explode.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\list.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unreduce.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unshrink.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\unziplib.def
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\zipinfo.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc5/sfx/SFXWiz32.dsp
0,0 → 1,174
# Microsoft Developer Studio Project File - Name="SFXWiz" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Application" 0x0101
 
CFG=SFXWiz - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "SFXWiz32.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "SFXWiz32.mak" CFG="SFXWiz - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "SFXWiz - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 ASM Release" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 ASM Debug" (based on "Win32 (x86) Application")
!MESSAGE
 
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "SFXWiz - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /machine:I386 /libpath:"..\Release"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept /libpath:"..\Debug"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /machine:I386 /libpath:"..\Release.ASM"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept /libpath:"..\Debug.ASM"
 
!ENDIF
 
# Begin Target
 
# Name "SFXWiz - Win32 Release"
# Name "SFXWiz - Win32 Debug"
# Name "SFXWiz - Win32 ASM Release"
# Name "SFXWiz - Win32 ASM Debug"
# Begin Group "Source Files"
 
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxwiz.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxwiz.rc
# End Source File
# End Group
# Begin Group "Header Files"
 
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\dialog.h
# End Source File
# End Group
# Begin Group "Resource Files"
 
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxw.ico
# End Source File
# End Group
# End Target
# End Project
/programs/fs/unzip60/windll/vc5/sfx/SFXWiz32.dsw
0,0 → 1,44
Microsoft Developer Studio Workspace File, Format Version 5.00
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
 
###############################################################################
 
Project: "SFXWiz"=.\SFXWiz32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unzsfx32
End Project Dependency
}}}
 
###############################################################################
 
Project: "unzsfx32"=.\unzsfx32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Global:
 
Package=<5>
{{{
}}}
 
Package=<3>
{{{
}}}
 
###############################################################################
 
/programs/fs/unzip60/windll/vc5/sfx/unzsfx32.dsp
0,0 → 1,184
# Microsoft Developer Studio Project File - Name="unzsfx32" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Static Library" 0x0104
 
CFG=unzsfx32 - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unzsfx32.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unzsfx32.mak" CFG="unzsfx32 - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unzsfx32 - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 ASM Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 ASM Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
 
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
 
!IF "$(CFG)" == "unzsfx32 - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM"
# PROP Intermediate_Dir "Release.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ENDIF
 
# Begin Target
 
# Name "unzsfx32 - Win32 Release"
# Name "unzsfx32 - Win32 Debug"
# Name "unzsfx32 - Win32 ASM Release"
# Name "unzsfx32 - Win32 ASM Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc5/unzip32.dsw
0,0 → 1,83
Microsoft Developer Studio Workspace File, Format Version 5.00
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
 
###############################################################################
 
Project: "SFXWiz"=.\sfx\SFXWiz32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unzsfx32
End Project Dependency
}}}
 
###############################################################################
 
Project: "c_dll_ex"=.\exampl\c_dll_ex.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unz32dll
End Project Dependency
}}}
 
###############################################################################
 
Project: "unz32dll"=.\dll\unz32dll.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Project: "unz32lib"=.\lib\unz32lib.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Project: "unzsfx32"=.\sfx\unzsfx32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Global:
 
Package=<5>
{{{
}}}
 
Package=<3>
{{{
}}}
 
###############################################################################
 
/programs/fs/unzip60/windll/vc6/dll/unz32dll.dsp
0,0 → 1,347
# Microsoft Developer Studio Project File - Name="unz32dll" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
 
CFG=unz32dll - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unz32dll.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unz32dll.mak" CFG="unz32dll - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unz32dll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Static Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 Static Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Static Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "unz32dll - Win32 ASM Static Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
 
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "unz32dll - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/app"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../Release/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/app"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../Debug/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM/app"
# PROP Intermediate_Dir "Release.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../Release.ASM/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM/app"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../Debug.ASM/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease/app"
# PROP Intermediate_Dir "StatRelease"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../StatRelease/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug/app"
# PROP Intermediate_Dir "StatDebug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../StatDebug/app/unzip32.dll" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease.ASM/app"
# PROP Intermediate_Dir "StatRelease.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../StatRelease.ASM/app/unzip32.dll"
 
!ELSEIF "$(CFG)" == "unz32dll - Win32 ASM Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug.ASM/app"
# PROP Intermediate_Dir "StatDebug.ASM"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "WIN32"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../StatDebug.ASM/app/unzip32.dll" /pdbtype:sept
 
!ENDIF
 
# Begin Target
 
# Name "unz32dll - Win32 Release"
# Name "unz32dll - Win32 Debug"
# Name "unz32dll - Win32 ASM Release"
# Name "unz32dll - Win32 ASM Debug"
# Name "unz32dll - Win32 Static Release"
# Name "unz32dll - Win32 Static Debug"
# Name "unz32dll - Win32 ASM Static Release"
# Name "unz32dll - Win32 ASM Static Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\explode.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\list.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unreduce.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unshrink.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.rc
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll32.def
# End Source File
# Begin Source File
 
SOURCE=..\..\..\zipinfo.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc6/exampl/c_dll_ex.dsp
0,0 → 1,152
# Microsoft Developer Studio Project File - Name="c_dll_ex" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Console Application" 0x0103
 
CFG=c_dll_ex - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "c_dll_ex.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "c_dll_ex.mak" CFG="c_dll_ex - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "c_dll_ex - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Static Release" (based on "Win32 (x86) Console Application")
!MESSAGE "c_dll_ex - Win32 Static Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
 
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "c_dll_ex - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/app"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386 /out:"../Release/app/uzexampl.exe"
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/app"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /out:"../Debug/app/uzexampl.exe" /pdbtype:sept
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Static Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "StatRelease"
# PROP BASE Intermediate_Dir "StatRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../StatRelease/app"
# PROP Intermediate_Dir "StatRelease"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /machine:I386 /out:"../StatRelease/app/uzexampl.exe"
 
!ELSEIF "$(CFG)" == "c_dll_ex - Win32 Static Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "StatDebug"
# PROP BASE Intermediate_Dir "StatDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../StatDebug/app"
# PROP Intermediate_Dir "StatDebug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib advapi32.lib version.lib /nologo /subsystem:console /debug /machine:I386 /out:"../StatDebug/app/uzexampl.exe" /pdbtype:sept
 
!ENDIF
 
# Begin Target
 
# Name "c_dll_ex - Win32 Release"
# Name "c_dll_ex - Win32 Debug"
# Name "c_dll_ex - Win32 Static Release"
# Name "c_dll_ex - Win32 Static Debug"
# Begin Group "Source Files"
 
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
 
SOURCE=..\..\uzexampl.c
# End Source File
# End Group
# Begin Group "Header Files"
 
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
 
SOURCE=..\..\uzexampl.h
# End Source File
# End Group
# End Target
# End Project
/programs/fs/unzip60/windll/vc6/lib/unz32lib.dsp
0,0 → 1,222
# Microsoft Developer Studio Project File - Name="unz32lib" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Static Library" 0x0104
 
CFG=unz32lib - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unz32lib.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unz32lib.mak" CFG="unz32lib - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unz32lib - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 ASM Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unz32lib - Win32 ASM Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
 
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "unz32lib - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release/libs"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Release/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug/libs"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Debug/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM/libs"
# PROP Intermediate_Dir "Release.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /D "ASM_CRC" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Release.ASM/libs/unzip32.lib"
 
!ELSEIF "$(CFG)" == "unz32lib - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM/libs"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "USE_EF_UT_TIME" /D "ASM_CRC" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"../Debug.ASM/libs/unzip32.lib"
 
!ENDIF
 
# Begin Target
 
# Name "unz32lib - Win32 Release"
# Name "unz32lib - Win32 Debug"
# Name "unz32lib - Win32 ASM Release"
# Name "unz32lib - Win32 ASM Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\explode.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\list.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unreduce.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\unshrink.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\unziplib.def
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\zipinfo.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc6/sfx/SFXWiz32.dsp
0,0 → 1,175
# Microsoft Developer Studio Project File - Name="SFXWiz" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Application" 0x0101
 
CFG=SFXWiz - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "SFXWiz32.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "SFXWiz32.mak" CFG="SFXWiz - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "SFXWiz - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 ASM Release" (based on "Win32 (x86) Application")
!MESSAGE "SFXWiz - Win32 ASM Debug" (based on "Win32 (x86) Application")
!MESSAGE
 
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "SFXWiz - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /machine:I386 /libpath:"..\Release"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept /libpath:"..\Debug"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /machine:I386 /libpath:"..\Release.ASM"
 
!ELSEIF "$(CFG)" == "SFXWiz - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /Zi /Od /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "WIN32" /D "API" /D "DLL" /D "USE_UNZIP_LIB" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib unzsfx32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept /libpath:"..\Debug.ASM"
 
!ENDIF
 
# Begin Target
 
# Name "SFXWiz - Win32 Release"
# Name "SFXWiz - Win32 Debug"
# Name "SFXWiz - Win32 ASM Release"
# Name "SFXWiz - Win32 ASM Debug"
# Begin Group "Source Files"
 
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxwiz.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxwiz.rc
# End Source File
# End Group
# Begin Group "Header Files"
 
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\dialog.h
# End Source File
# End Group
# Begin Group "Resource Files"
 
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
 
SOURCE=..\..\..\windll\guisfx\sfxw.ico
# End Source File
# End Group
# End Target
# End Project
/programs/fs/unzip60/windll/vc6/sfx/SFXWiz32.dsw
0,0 → 1,44
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
 
###############################################################################
 
Project: "SFXWiz"=.\SFXWiz32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unzsfx32
End Project Dependency
}}}
 
###############################################################################
 
Project: "unzsfx32"=.\unzsfx32.dsp - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Global:
 
Package=<5>
{{{
}}}
 
Package=<3>
{{{
}}}
 
###############################################################################
 
/programs/fs/unzip60/windll/vc6/sfx/unzsfx32.dsp
0,0 → 1,194
# Microsoft Developer Studio Project File - Name="unzsfx32" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
 
# TARGTYPE "Win32 (x86) Static Library" 0x0104
 
CFG=unzsfx32 - Win32 ASM Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "unzsfx32.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "unzsfx32.mak" CFG="unzsfx32 - Win32 ASM Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "unzsfx32 - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 ASM Release" (based on "Win32 (x86) Static Library")
!MESSAGE "unzsfx32 - Win32 ASM Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
 
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
 
!IF "$(CFG)" == "unzsfx32 - Win32 Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /YX /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 ASM Release"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../Release.ASM"
# PROP Intermediate_Dir "Release.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /GX /O2 /D "NDEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /GX /O1 /I "../../.." /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ELSEIF "$(CFG)" == "unzsfx32 - Win32 ASM Debug"
 
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../Debug.ASM"
# PROP Intermediate_Dir "Debug.ASM"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_MBCS" /D "WIN32" /YX /FD /c
# ADD CPP /nologo /Gz /W3 /Gm /GX /Zi /Od /I "../../.." /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "WINDLL" /D "DLL" /D "UNZIPLIB" /D "SFX" /D "USE_EF_UT_TIME" /D "ASM_CRC" /YX /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo
 
!ENDIF
 
# Begin Target
 
# Name "unzsfx32 - Win32 Release"
# Name "unzsfx32 - Win32 Debug"
# Name "unzsfx32 - Win32 ASM Release"
# Name "unzsfx32 - Win32 ASM Debug"
# Begin Source File
 
SOURCE=..\..\..\api.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crc32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\crc_i386.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\crypt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\extract.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\fileio.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\globals.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\inflate.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\match.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\nt.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\process.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\ubz2err.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\win32\win32i64.c
# End Source File
# Begin Source File
 
SOURCE=..\..\..\windll\windll.c
# End Source File
# End Target
# End Project
/programs/fs/unzip60/windll/vc6/unzip32.dsw
0,0 → 1,83
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
 
###############################################################################
 
Project: "SFXWiz"=".\sfx\SFXWiz32.dsp" - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unzsfx32
End Project Dependency
}}}
 
###############################################################################
 
Project: "c_dll_ex"=".\exampl\c_dll_ex.dsp" - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name unz32dll
End Project Dependency
}}}
 
###############################################################################
 
Project: "unz32dll"=".\dll\unz32dll.dsp" - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Project: "unz32lib"=".\lib\unz32lib.dsp" - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Project: "unzsfx32"=".\sfx\unzsfx32.dsp" - Package Owner=<4>
 
Package=<5>
{{{
}}}
 
Package=<4>
{{{
}}}
 
###############################################################################
 
Global:
 
Package=<5>
{{{
}}}
 
Package=<3>
{{{
}}}
 
###############################################################################
 
/programs/fs/unzip60/windll/vc8/dll/unz32dll.vcproj
0,0 → 1,2382
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="unz32dll"
ProjectGUID="{26E880E4-A1B1-4FB1-8833-13FC0FA48857}"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="ASM Debug|Win32"
OutputDirectory=".\../Debug.ASM/app"
IntermediateDirectory=".\Debug.ASM"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Debug.ASM/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME;ASM_CRC"
MinimalRebuild="true"
RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug.ASM/unz32dll.pch"
AssemblerListingLocation=".\Debug.ASM/"
ObjectFile=".\Debug.ASM/"
ProgramDataBaseFileName=".\Debug.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../Debug.ASM/app/unzip32.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../Debug.ASM/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../Debug.ASM/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug.ASM/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\../Debug/app"
IntermediateDirectory=".\Debug"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Debug/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME"
MinimalRebuild="true"
RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/unz32dll.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../Debug/app/unzip32.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../Debug/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../Debug/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Release|Win32"
OutputDirectory=".\../Release.ASM/app"
IntermediateDirectory=".\Release.ASM"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Release.ASM/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME;ASM_CRC"
StringPooling="true"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release.ASM/unz32dll.pch"
AssemblerListingLocation=".\Release.ASM/"
ObjectFile=".\Release.ASM/"
ProgramDataBaseFileName=".\Release.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../Release.ASM/app/unzip32.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
ProgramDatabaseFile=".\../Release.ASM/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../Release.ASM/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release.ASM/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\../Release/app"
IntermediateDirectory=".\Release"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Release/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME"
StringPooling="true"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/unz32dll.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../Release/app/unzip32.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
ProgramDatabaseFile=".\../Release/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../Release/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Static Debug|Win32"
OutputDirectory=".\../StatDebug.ASM/app"
IntermediateDirectory=".\StatDebug.ASM"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../StatDebug.ASM/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME;ASM_CRC"
MinimalRebuild="true"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\StatDebug.ASM/unz32dll.pch"
AssemblerListingLocation=".\StatDebug.ASM/"
ObjectFile=".\StatDebug.ASM/"
ProgramDataBaseFileName=".\StatDebug.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../StatDebug.ASM/app/unzip32.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../StatDebug.ASM/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../StatDebug.ASM/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatDebug.ASM/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Static Debug|Win32"
OutputDirectory=".\../StatDebug/app"
IntermediateDirectory=".\StatDebug"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../StatDebug/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME"
MinimalRebuild="true"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\StatDebug/unz32dll.pch"
AssemblerListingLocation=".\StatDebug/"
ObjectFile=".\StatDebug/"
ProgramDataBaseFileName=".\StatDebug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../StatDebug/app/unzip32.dll"
LinkIncremental="2"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../StatDebug/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../StatDebug/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatDebug/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Static Release|Win32"
OutputDirectory=".\../StatRelease.ASM/app"
IntermediateDirectory=".\StatRelease.ASM"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../StatRelease.ASM/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME;ASM_CRC"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\StatRelease.ASM/unz32dll.pch"
AssemblerListingLocation=".\StatRelease.ASM/"
ObjectFile=".\StatRelease.ASM/"
ProgramDataBaseFileName=".\StatRelease.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../StatRelease.ASM/app/unzip32.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
ProgramDatabaseFile=".\../StatRelease.ASM/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../StatRelease.ASM/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatRelease.ASM/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Static Release|Win32"
OutputDirectory=".\../StatRelease/app"
IntermediateDirectory=".\StatRelease"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../StatRelease/app/unz32dll.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;USE_EF_UT_TIME"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\StatRelease/unz32dll.pch"
AssemblerListingLocation=".\StatRelease/"
ObjectFile=".\StatRelease/"
ProgramDataBaseFileName=".\StatRelease/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG,WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib"
OutputFile="../StatRelease/app/unzip32.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
ModuleDefinitionFile="..\..\windll32.def"
ProgramDatabaseFile=".\../StatRelease/app/unzip32.pdb"
SubSystem="2"
ImportLibrary=".\../StatRelease/app/unzip32.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatRelease/app/unz32dll.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\..\..\api.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crc32.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\crc_i386.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crypt.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\explode.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\extract.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\fileio.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\globals.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\inflate.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\list.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\match.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\nt.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\process.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\ubz2err.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\unreduce.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\unshrink.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\win32.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\win32i64.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\windll.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\windll.rc"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="..\.."
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\windll32.def"
>
</File>
<File
RelativePath="..\..\..\zipinfo.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/programs/fs/unzip60/windll/vc8/exampl/c_dll_ex.vcproj
0,0 → 1,821
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="c_dll_ex"
ProjectGUID="{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}"
RootNamespace="c_dll_ex"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Release|Win32"
OutputDirectory=".\../Release/app"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../Release/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;_CONSOLE;WIN32"
StringPooling="true"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/c_dll_ex.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../Release/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\../Debug/app"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../Debug/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;_CONSOLE;WIN32"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/c_dll_ex.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../Debug/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Release|Win32"
OutputDirectory=".\../Release.ASM/app"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../Release/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;_CONSOLE;WIN32"
StringPooling="true"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/c_dll_ex.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../Release/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Debug|Win32"
OutputDirectory=".\../Debug.ASM/app"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../Debug/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;_CONSOLE;WIN32"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/c_dll_ex.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Static Release|Win32"
OutputDirectory=".\../StatRelease/app"
IntermediateDirectory=".\StatRelease"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../StatRelease/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;_CONSOLE;WIN32"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\StatRelease/c_dll_ex.pch"
AssemblerListingLocation=".\StatRelease/"
ObjectFile=".\StatRelease/"
ProgramDataBaseFileName=".\StatRelease/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../StatRelease/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatRelease/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Static Debug|Win32"
OutputDirectory=".\../StatDebug/app"
IntermediateDirectory=".\StatDebug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../StatDebug/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;_CONSOLE;WIN32"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\StatDebug/c_dll_ex.pch"
AssemblerListingLocation=".\StatDebug/"
ObjectFile=".\StatDebug/"
ProgramDataBaseFileName=".\StatDebug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../StatDebug/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatDebug/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Static Release|Win32"
OutputDirectory=".\../StatRelease.ASM/app"
IntermediateDirectory=".\StatRelease"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../StatRelease/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;_CONSOLE;WIN32"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\StatRelease/c_dll_ex.pch"
AssemblerListingLocation=".\StatRelease/"
ObjectFile=".\StatRelease/"
ProgramDataBaseFileName=".\StatRelease/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
ProgramDatabaseFile=".\../StatRelease/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatRelease/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Static Debug|Win32"
OutputDirectory=".\../StatDebug.ASM/app"
IntermediateDirectory=".\StatDebug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\../StatDebug/app/c_dll_ex.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="_DEBUG;_CONSOLE;WIN32"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\StatDebug/c_dll_ex.pch"
AssemblerListingLocation=".\StatDebug/"
ObjectFile=".\StatDebug/"
ProgramDataBaseFileName=".\StatDebug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib version.lib"
OutputFile="$(OutDir)/uzexampl.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../StatDebug/app/uzexampl.pdb"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../StatDebug/app/c_dll_ex.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
RelativePath="..\..\uzexampl.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Static Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl"
>
<File
RelativePath="..\..\uzexampl.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/programs/fs/unzip60/windll/vc8/lib/unz32lib.vcproj
0,0 → 1,1119
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="unz32lib"
ProjectGUID="{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="ASM Release|Win32"
OutputDirectory=".\../Release.ASM/libs"
IntermediateDirectory=".\Release.ASM"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;UNZIPLIB;USE_EF_UT_TIME;ASM_CRC"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release.ASM/unz32lib.pch"
AssemblerListingLocation=".\Release.ASM/"
ObjectFile=".\Release.ASM/"
ProgramDataBaseFileName=".\Release.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../Release.ASM/libs/unzip32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release.ASM/libs/unz32lib.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Debug|Win32"
OutputDirectory=".\../Debug.ASM/libs"
IntermediateDirectory=".\Debug.ASM"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;UNZIPLIB;USE_EF_UT_TIME;ASM_CRC"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug.ASM/unz32lib.pch"
AssemblerListingLocation=".\Debug.ASM/"
ObjectFile=".\Debug.ASM/"
ProgramDataBaseFileName=".\Debug.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../Debug.ASM/libs/unzip32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug.ASM/libs/unz32lib.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\../Debug/libs"
IntermediateDirectory=".\Debug"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;WINDLL;DLL;UNZIPLIB;USE_EF_UT_TIME"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug/unz32lib.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../Debug/libs/unzip32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/libs/unz32lib.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\../Release/libs"
IntermediateDirectory=".\Release"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;WINDLL;DLL;UNZIPLIB;USE_EF_UT_TIME"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/unz32lib.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="true"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../Release/libs/unzip32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/libs/unz32lib.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\..\..\api.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crc32.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\crc_i386.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crypt.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\explode.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\extract.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\fileio.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\globals.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\inflate.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\list.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\match.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\nt.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\process.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\ubz2err.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\unreduce.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\unshrink.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\unziplib.def"
>
</File>
<File
RelativePath="..\..\..\win32\win32.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\win32i64.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\windll.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\zipinfo.c"
>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/programs/fs/unzip60/windll/vc8/sfx/SFXWiz32.sln
0,0 → 1,39

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual C++ Express 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFXWiz", "SFXWiz32.vcproj", "{6BC29537-2E45-4429-A634-5C45B649436C}"
ProjectSection(ProjectDependencies) = postProject
{7545BD38-9F08-4F69-A944-E9981A5AB398} = {7545BD38-9F08-4F69-A944-E9981A5AB398}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unzsfx32", "unzsfx32.vcproj", "{7545BD38-9F08-4F69-A944-E9981A5AB398}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
ASM Debug|Win32 = ASM Debug|Win32
ASM Release|Win32 = ASM Release|Win32
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Release|Win32.Build.0 = ASM Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Debug|Win32.ActiveCfg = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Debug|Win32.Build.0 = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Release|Win32.ActiveCfg = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Release|Win32.Build.0 = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Release|Win32.Build.0 = ASM Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.ActiveCfg = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.Build.0 = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.ActiveCfg = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
/programs/fs/unzip60/windll/vc8/sfx/SFXWiz32.vcproj
0,0 → 1,509
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="SFXWiz"
ProjectGUID="{6BC29537-2E45-4429-A634-5C45B649436C}"
RootNamespace="SFXWiz"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\../Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Debug/SFXWiz32.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;API;DLL;USE_UNZIP_LIB"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug/SFXWiz32.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/SFXWiz32.pdb"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib comctl32.lib comdlg32.lib unzsfx32.lib"
OutputFile=".\../Debug/SFXWiz32.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\Debug"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../Debug/SFXWiz32.pdb"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/SFXWiz32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Debug|Win32"
OutputDirectory=".\../Debug.ASM"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Debug.ASM/SFXWiz32.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;_WINDOWS;WIN32;API;DLL;USE_UNZIP_LIB"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug/SFXWiz32.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib comctl32.lib comdlg32.lib unzsfx32.lib"
OutputFile=".\../Debug.ASM/SFXWiz32.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\Debug.ASM"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../Debug.ASM/SFXWiz32.pdb"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug.ASM/SFXWiz32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\../Release"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Release/SFXWiz32.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="1"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;API;DLL;USE_UNZIP_LIB"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/SFXWiz32.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/SFXWiz32.pdb"
WarningLevel="3"
SuppressStartupBanner="true"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib comctl32.lib comdlg32.lib unzsfx32.lib"
OutputFile=".\../Release/SFXWiz32.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\Release"
ProgramDatabaseFile=".\../Release/SFXWiz32.pdb"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/SFXWiz32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Release|Win32"
OutputDirectory=".\../Release.ASM"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
TypeLibraryName=".\../Release.ASM/SFXWiz32.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="1"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;_WINDOWS;WIN32;API;DLL;USE_UNZIP_LIB"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/SFXWiz32.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/SFXWiz32.pdb"
WarningLevel="3"
SuppressStartupBanner="true"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="advapi32.lib user32.lib comctl32.lib comdlg32.lib unzsfx32.lib"
OutputFile=".\../Release.ASM/SFXWiz32.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\Release.ASM"
ProgramDatabaseFile=".\../Release.ASM/SFXWiz32.pdb"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release.ASM/SFXWiz32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
RelativePath="..\..\guisfx\sfxwiz.c"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\guisfx\sfxwiz.rc"
>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="\VSProjects\Info-ZIP\unz6\unz60d10\windll\guisfx"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="\VSProjects\Info-ZIP\unz6\unz60d10\windll\guisfx"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="\VSProjects\Info-ZIP\unz6\unz60d10\windll\guisfx"
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions=""
AdditionalIncludeDirectories="\VSProjects\Info-ZIP\unz6\unz60d10\windll\guisfx"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
>
<File
RelativePath="..\..\guisfx\sfxw.ico"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl"
>
<File
RelativePath="..\..\guisfx\dialog.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/programs/fs/unzip60/windll/vc8/sfx/unzsfx32.vcproj
0,0 → 1,917
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="unzsfx32"
ProjectGUID="{7545BD38-9F08-4F69-A944-E9981A5AB398}"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Release|Win32"
OutputDirectory=".\../Release"
IntermediateDirectory=".\Release"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="1"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;WIN32;WINDLL;DLL;UNZIPLIB;SFX;USE_EF_UT_TIME"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/unzsfx32.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="true"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\../Release\unzsfx32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release/unzsfx32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Release|Win32"
OutputDirectory=".\../Release.ASM"
IntermediateDirectory=".\Release.ASM"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="1"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="NDEBUG;WIN32;WINDLL;DLL;UNZIPLIB;SFX;USE_EF_UT_TIME;ASM_CRC"
StringPooling="true"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release.ASM/unzsfx32.pch"
AssemblerListingLocation=".\Release.ASM/"
ObjectFile=".\Release.ASM/"
ProgramDataBaseFileName=".\Release.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\../Release.ASM\unzsfx32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Release.ASM/unzsfx32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\../Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;WIN32;WINDLL;DLL;UNZIPLIB;SFX;USE_EF_UT_TIME"
MinimalRebuild="true"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug/unzsfx32.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\../Debug\unzsfx32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug/unzsfx32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="ASM Debug|Win32"
OutputDirectory=".\../Debug.ASM"
IntermediateDirectory=".\Debug.ASM"
ConfigurationType="4"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../.."
PreprocessorDefinitions="_DEBUG;WIN32;WINDLL;DLL;UNZIPLIB;SFX;USE_EF_UT_TIME;ASM_CRC"
MinimalRebuild="true"
RuntimeLibrary="1"
PrecompiledHeaderFile=".\Debug.ASM/unzsfx32.pch"
AssemblerListingLocation=".\Debug.ASM/"
ObjectFile=".\Debug.ASM/"
ProgramDataBaseFileName=".\Debug.ASM/"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CallingConvention="2"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile=".\../Debug.ASM\unzsfx32.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\../Debug.ASM/unzsfx32.bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\..\..\api.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crc32.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\crc_i386.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\crypt.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\extract.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\fileio.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\globals.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\inflate.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\match.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\nt.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\process.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\ubz2err.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\win32.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\win32\win32i64.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\windll.c"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
<FileConfiguration
Name="ASM Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""
PreprocessorDefinitions=""
/>
</FileConfiguration>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/programs/fs/unzip60/windll/vc8/unzip32.sln
0,0 → 1,120

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual C++ Express 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFXWiz", "sfx\SFXWiz32.vcproj", "{6BC29537-2E45-4429-A634-5C45B649436C}"
ProjectSection(ProjectDependencies) = postProject
{7545BD38-9F08-4F69-A944-E9981A5AB398} = {7545BD38-9F08-4F69-A944-E9981A5AB398}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unz32dll", "dll\unz32dll.vcproj", "{26E880E4-A1B1-4FB1-8833-13FC0FA48857}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unz32lib", "lib\unz32lib.vcproj", "{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unzsfx32", "sfx\unzsfx32.vcproj", "{7545BD38-9F08-4F69-A944-E9981A5AB398}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c_dll_ex", "exampl\c_dll_ex.vcproj", "{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}"
ProjectSection(ProjectDependencies) = postProject
{26E880E4-A1B1-4FB1-8833-13FC0FA48857} = {26E880E4-A1B1-4FB1-8833-13FC0FA48857}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
ASM Debug|Win32 = ASM Debug|Win32
ASM Release|Win32 = ASM Release|Win32
ASM Static Debug|Win32 = ASM Static Debug|Win32
ASM Static Release|Win32 = ASM Static Release|Win32
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
Static Debug|Win32 = Static Debug|Win32
Static Release|Win32 = Static Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Release|Win32.Build.0 = ASM Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Static Debug|Win32.ActiveCfg = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Static Debug|Win32.Build.0 = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Static Release|Win32.ActiveCfg = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.ASM Static Release|Win32.Build.0 = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Debug|Win32.ActiveCfg = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Debug|Win32.Build.0 = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Release|Win32.ActiveCfg = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Release|Win32.Build.0 = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Static Debug|Win32.ActiveCfg = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Static Debug|Win32.Build.0 = Debug|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Static Release|Win32.ActiveCfg = Release|Win32
{6BC29537-2E45-4429-A634-5C45B649436C}.Static Release|Win32.Build.0 = Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Release|Win32.Build.0 = ASM Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Static Debug|Win32.ActiveCfg = Static Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Static Debug|Win32.Build.0 = Static Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Static Release|Win32.ActiveCfg = Static Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.ASM Static Release|Win32.Build.0 = Static Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Debug|Win32.ActiveCfg = Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Debug|Win32.Build.0 = Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Release|Win32.ActiveCfg = Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Release|Win32.Build.0 = Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Static Debug|Win32.ActiveCfg = Static Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Static Debug|Win32.Build.0 = Static Debug|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Static Release|Win32.ActiveCfg = Static Release|Win32
{26E880E4-A1B1-4FB1-8833-13FC0FA48857}.Static Release|Win32.Build.0 = Static Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Release|Win32.Build.0 = ASM Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Static Debug|Win32.ActiveCfg = ASM Static Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Static Debug|Win32.Build.0 = ASM Static Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Static Release|Win32.ActiveCfg = ASM Static Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.ASM Static Release|Win32.Build.0 = ASM Static Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Debug|Win32.ActiveCfg = Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Debug|Win32.Build.0 = Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Release|Win32.ActiveCfg = Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Release|Win32.Build.0 = Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Static Debug|Win32.ActiveCfg = Static Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Static Debug|Win32.Build.0 = Static Debug|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Static Release|Win32.ActiveCfg = Static Release|Win32
{AC199DDF-4CC8-4BEE-988E-1D20C7336F22}.Static Release|Win32.Build.0 = Static Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Release|Win32.Build.0 = ASM Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Static Debug|Win32.ActiveCfg = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Static Debug|Win32.Build.0 = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Static Release|Win32.ActiveCfg = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.ASM Static Release|Win32.Build.0 = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.ActiveCfg = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.Build.0 = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.ActiveCfg = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.Build.0 = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.ActiveCfg = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Debug|Win32.Build.0 = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.ActiveCfg = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Release|Win32.Build.0 = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Static Debug|Win32.ActiveCfg = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Static Debug|Win32.Build.0 = Debug|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Static Release|Win32.ActiveCfg = Release|Win32
{7545BD38-9F08-4F69-A944-E9981A5AB398}.Static Release|Win32.Build.0 = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Debug|Win32.ActiveCfg = ASM Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Debug|Win32.Build.0 = ASM Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Release|Win32.ActiveCfg = ASM Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Release|Win32.Build.0 = ASM Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Static Debug|Win32.ActiveCfg = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Static Debug|Win32.Build.0 = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Static Release|Win32.ActiveCfg = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.ASM Static Release|Win32.Build.0 = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Debug|Win32.ActiveCfg = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Debug|Win32.Build.0 = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Release|Win32.ActiveCfg = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Release|Win32.Build.0 = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Static Debug|Win32.ActiveCfg = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Static Debug|Win32.Build.0 = Debug|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Static Release|Win32.ActiveCfg = Release|Win32
{80E5EF65-3BD4-4EFF-BA4C-CA893C95EE8B}.Static Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
/programs/fs/unzip60/windll/windll.c
0,0 → 1,1075
/*
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2009-Jan-02 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
/* Windows Info-ZIP Unzip DLL module
*
* Author: Mike White
*
* Original: 1996
*
* This module has the entry points for "unzipping" a zip file.
*/
 
/*---------------------------------------------------------------------------
 
This file is the WINDLL replacement for the generic ``main program source
file'' unzip.c.
 
See the general comments in the header part of unzip.c.
 
Copyrights: see accompanying file "COPYING" in UnZip source distribution.
(This software is free but NOT IN THE PUBLIC DOMAIN. There
are some restrictions on commercial use.)
 
---------------------------------------------------------------------------*/
 
#define __WINDLL_C /* identifies this source module */
 
#define WIN32_LEAN_AND_MEAN
#define UNZIP_INTERNAL
#include "../unzip.h"
#include "../crypt.h"
#include "../unzvers.h"
#include "../windll/windll.h"
#include "../windll/structs.h"
#include "../consts.h"
#include <malloc.h>
 
/* Added type casts to prevent potential "type mismatch" error messages. */
#ifdef REENTRANT
# undef __G
# undef __G__
# define __G (Uz_Globs *)pG
# define __G__ (Uz_Globs *)pG,
#endif
 
HANDLE hwildZipFN;
HANDLE hInst; /* current instance */
HANDLE hDCL;
int fNoPrinting = 0;
extern jmp_buf dll_error_return;
 
/* Helper function to release memory allocated by Wiz_SetOpts() */
static void FreeDllMem(__GPRO);
 
/* For displaying status messages and error messages */
static int UZ_EXP DllMessagePrint(zvoid *pG, uch *buf, ulg size, int flag);
 
#if 0 /* currently unused */
/* For displaying files extracted to the display window */
int DllDisplayPrint(zvoid *pG, uch *buf, ulg size, int flag);
#endif /* never */
 
/* Callback function for status report and/or user interception */
static int UZ_EXP Wiz_StatReportCB(zvoid *pG, int fnflag, ZCONST char *zfn,
ZCONST char *efn, ZCONST zvoid *details);
 
/* Dummy sound function for those applications that don't use sound */
static void WINAPI DummySound(void);
 
static int UnzipAllocMemory(unsigned, char *, char *, char ***, unsigned *);
static int UnzipParseString(LPCSTR, unsigned *, char ***);
static void UnzipFreeArguments(unsigned, char ***);
 
#ifndef UNZIPLIB
/* DLL Entry Point */
 
#ifdef __BORLANDC__
#pragma argsused
/* Borland seems to want DllEntryPoint instead of DllMain like MSVC */
#define DllMain DllEntryPoint
#endif
#ifdef WIN32
BOOL WINAPI DllMain( HINSTANCE hInstance,
DWORD dwReason,
LPVOID plvReserved)
#else
int FAR PASCAL LibMain( HINSTANCE hInstance,
WORD wDataSegment,
WORD wHeapSize,
LPSTR lpszCmdLine )
#endif
{
#ifndef WIN32
/* The startup code for the DLL initializes the local heap(if there is one)
* with a call to LocalInit which locks the data segment.
*/
 
if ( wHeapSize != 0 )
{
UnlockData( 0 );
}
hInst = hInstance;
return 1; /* Indicate that the DLL was initialized successfully. */
#else
BOOL rc = TRUE;
switch( dwReason )
{
case DLL_PROCESS_ATTACH:
// DLL is loaded. Do your initialization here.
// If cannot init, set rc to FALSE.
hInst = hInstance;
break;
 
case DLL_PROCESS_DETACH:
// DLL is unloaded. Do your cleanup here.
break;
default:
break;
}
return rc;
#endif
}
 
#ifdef __BORLANDC__
#pragma argsused
#endif
int FAR PASCAL WEP ( int bSystemExit )
{
return 1;
}
#endif /* !UNZIPLIB */
 
static int UnzipAllocMemory(unsigned int i, char *cmd, char *str,
char ***pargVee, unsigned int *pargCee)
{
if (((*pargVee)[i] = (char *)malloc(sizeof(char) * strlen(cmd)+1 ))
== NULL)
{
if (pargCee != NULL)
(*pargCee)++;
UnzipFreeArguments(*pargCee, pargVee);
fprintf(stdout, "Unable to allocate memory in unzip library at %s\n",
str);
return PK_MEM;
}
strcpy((*pargVee)[i], cmd);
(*pargCee)++;
return PK_OK;
}
 
static void UnzipFreeArguments(unsigned int argCee, char ***pargVee)
{
unsigned i;
 
/* Free the arguments in the arrays */
for (i = 0; i < argCee; i++)
{
free ((*pargVee)[i]);
(*pargVee)[i] = NULL;
}
 
/* Then free the arrays themselves */
free(*pargVee);
}
 
 
static int UnzipParseString(LPCSTR s, unsigned int *pargCee, char ***pargVee)
{
unsigned int i = 0;
char *str1, *str2, *str3;
size_t size;
 
str1 = (char *) malloc(lstrlen(s)+4);
lstrcpy(str1, s);
lstrcat(str1, " @");
 
str2 = strchr(str1, '\"'); // get first occurance of double quote
 
while ((str3 = strchr(str1, '\t')) != NULL)
{
str3[0] = ' '; // Change tabs into a single space
}
 
/* Note that if a quoted string contains multiple adjacent spaces, they
will not be removed, because they could well point to a valid
folder/file name.
*/
while ((str2 = strchr(str1, '\"')) != NULL)
{
// Found an opening double quote; get the corresponding closing quote
str3 = strchr(str2+1, '\"');
if (str3 == NULL)
{
free(str1);
return PK_PARAM; /* Something is screwy with the
string, bail out */
}
str3[0] = '\0'; // terminate str2 with a NULL
 
size = _msize(*pargVee);
if ((*pargVee = (char **)realloc(*pargVee, size + sizeof(char *)))
== NULL)
{
fprintf(stdout, "Unable to allocate memory in unzip dll\n");
return PK_MEM;
}
// argCee is incremented in UnzipAllocMemory
if (UnzipAllocMemory(i, str2+1, "Creating file list from string",
pargVee, pargCee) != PK_OK)
{
free(str1);
return PK_MEM;
}
i++;
str3+=2; // Point past the whitespace character
str2[0] = '\0'; // Terminate str1
lstrcat(str1, str3);
} // end while
 
/* points to first occurance of a space */
str2 = strchr(str1, ' ');
 
/* Go through the string character by character, looking for instances
of two spaces together. Terminate when you find the trailing @
*/
while ((str2[0] != '\0') && (str2[0] != '@'))
{
while ((str2[0] == ' ') && (str2[1] == ' '))
{
str3 = &str2[1];
str2[0] = '\0';
lstrcat(str1, str3);
}
str2++;
}
 
/* Do we still have a leading space? */
if (str1[0] == ' ')
{
str3 = &str1[1];
lstrcpy(str1, str3); // Dump the leading space
}
 
 
/* Okay, now we have gotten rid of any tabs and replaced them with
spaces, and have replaced multiple spaces with a single space. We
couldn't do this before because the folder names could have actually
contained these characters.
*/
 
str2 = str3 = str1;
 
while ((str2[0] != '\0') && (str3[0] != '@'))
{
str3 = strchr(str2+1, ' ');
str3[0] = '\0';
size = _msize(pargVee);
if ((*pargVee = (char **)realloc(*pargVee, size + sizeof(char *)))
== NULL)
{
fprintf(stdout, "Unable to allocate memory in unzip dll\n");
return PK_MEM;
}
if (UnzipAllocMemory(i, str2, "Creating file list from string",
pargVee, pargCee) != PK_OK)
{
free(str1);
return PK_MEM;
}
i++;
str3++;
str2 = str3;
}
free(str1);
return PK_OK;
}
 
/* DLL calls */
 
BOOL WINAPI Wiz_Init(pG, lpUserFunc)
zvoid *pG;
LPUSERFUNCTIONS lpUserFunc;
{
G.message = DllMessagePrint;
G.statreportcb = Wiz_StatReportCB;
if (lpUserFunc->sound == NULL)
lpUserFunc->sound = DummySound;
G.lpUserFunctions = lpUserFunc;
 
SETLOCALE(LC_CTYPE, "");
 
if (!G.lpUserFunctions->print ||
!G.lpUserFunctions->sound ||
!G.lpUserFunctions->replace)
return FALSE;
 
return TRUE;
}
 
/*
StructVersID = version of this structure (= UZ_DCL_STRUCTVER)
ExtractOnlyNewer = TRUE for "update" without interaction
(extract only newer/new files, without queries)
SpaceToUnderscore = TRUE if convert space to underscore
PromptToOverwrite = TRUE if prompt to overwrite is wanted
fQuiet = quiet flag:
0 = all messages, 1 = few messages, 2 = no messages
ncflag = write to stdout if TRUE
ntflag = test zip file
nvflag = verbose listing
nfflag = "freshen" (replace existing files by newer versions)
nzflag = display zip file comment
ndflag = controls (sub)directory recreation during extraction
0 = junk paths from filenames
1 = "safe" usage of paths in filenames (skip "../")
2 = allow also unsafe path components (dir traversal)
noflag = always overwriting existing files if TRUE
naflag = do end-of-line translation
nZIflag = get ZipInfo if TRUE
B_flag = backup existing files if TRUE
C_flag = be case insensitive if TRUE
D_flag = controls restoration of timestamps
0 = restore all timestamps (default)
1 = skip restoration of timestamps for folders
created on behalf of directory entries in the
Zip archive
2 = do not restore any timestamps; extracted files
and directories get stamped with the current time
U_flag = controls UTF-8 filename coding support
0 = automatic UTF-8 translation enabled (default)
1 = recognize UTF-8 coded names, but all non-ASCII
characters are "escaped" into "#Uxxxx"
2 = UTF-8 support is disabled, filename handling
works exactly as in previous UnZip versions
fPrivilege = 1 => restore ACLs in user mode,
2 => try to use privileges for restoring ACLs
lpszZipFN = zip file name
lpszExtractDir = directory to extract to. This should be NULL if you
are extracting to the current directory.
*/
 
BOOL WINAPI Wiz_SetOpts(pG, lpDCL)
zvoid *pG;
LPDCL lpDCL;
{
if (lpDCL->StructVersID != UZ_DCL_STRUCTVER)
return FALSE;
 
uO.qflag = lpDCL->fQuiet; /* Quiet flag */
G.pfnames = (char **)&fnames[0]; /* assign default file name vector */
G.pxnames = (char **)&fnames[1];
 
uO.jflag = (lpDCL->ndflag == 0);
uO.ddotflag = (lpDCL->ndflag >= 2);
uO.cflag = lpDCL->ncflag;
uO.tflag = lpDCL->ntflag;
uO.vflag = lpDCL->nvflag;
uO.zflag = lpDCL->nzflag;
uO.aflag = lpDCL->naflag;
#ifdef UNIXBACKUP
uO.B_flag = lpDCL->B_flag;
#endif
uO.C_flag = lpDCL->C_flag;
uO.D_flag = lpDCL->D_flag;
uO.U_flag = lpDCL->U_flag;
uO.overwrite_all = lpDCL->noflag;
uO.overwrite_none = !(lpDCL->noflag || lpDCL->PromptToOverwrite);
uO.uflag = lpDCL->ExtractOnlyNewer || lpDCL->nfflag;
uO.fflag = lpDCL->nfflag;
#ifdef WIN32
uO.X_flag = lpDCL->fPrivilege;
#endif
uO.sflag = lpDCL->SpaceToUnderscore; /* Translate spaces to underscores? */
if (lpDCL->nZIflag)
{
uO.zipinfo_mode = TRUE;
uO.hflag = TRUE;
uO.lflag = 10;
uO.qflag = 2;
}
else
{
uO.zipinfo_mode = FALSE;
}
 
G.extract_flag = (!uO.zipinfo_mode &&
!uO.cflag && !uO.tflag && !uO.vflag && !uO.zflag
#ifdef TIMESTAMP
&& !uO.T_flag
#endif
);
 
if (lpDCL->lpszExtractDir != NULL && G.extract_flag)
{
#ifndef CRTL_CP_IS_ISO
char *pExDirRoot = (char *)malloc(strlen(lpDCL->lpszExtractDir)+1);
 
if (pExDirRoot == NULL)
return FALSE;
ISO_TO_INTERN(lpDCL->lpszExtractDir, pExDirRoot);
#else
# define pExDirRoot lpDCL->lpszExtractDir
#endif
if (strlen(pExDirRoot) >= FILNAMSIZ)
{
/* The supplied extract root path exceed the filename size limit. */
#ifndef CRTL_CP_IS_ISO
free(pExDirRoot);
#endif
return FALSE;
}
uO.exdir = pExDirRoot;
}
else
{
uO.exdir = (char *)NULL;
}
 
/* G.wildzipfn needs to be initialized so that do_wild does not wind
up clearing out the zip file name when it returns in process.c
*/
if (strlen(lpDCL->lpszZipFN) >= FILNAMSIZ)
/* length of supplied archive name exceed the system's filename limit */
return FALSE;
 
hwildZipFN = GlobalAlloc(GPTR, FILNAMSIZ);
if (hwildZipFN == (HGLOBAL) NULL)
return FALSE;
 
G.wildzipfn = GlobalLock(hwildZipFN);
lstrcpy(G.wildzipfn, lpDCL->lpszZipFN);
_ISO_INTERN(G.wildzipfn);
 
return TRUE; /* set up was OK */
}
 
static void FreeDllMem(__GPRO)
{
if (G.wildzipfn) {
GlobalUnlock(hwildZipFN);
G.wildzipfn = NULL;
}
if (hwildZipFN)
hwildZipFN = GlobalFree(hwildZipFN);
 
#ifndef CRTL_CP_IS_ISO
if (uO.exdir != NULL) {
free(uO.exdir);
uO.exdir = NULL;
}
#endif
 
uO.zipinfo_mode = FALSE;
}
 
int WINAPI Wiz_Unzip(pG, ifnc, ifnv, xfnc, xfnv)
zvoid *pG;
int ifnc;
char **ifnv;
int xfnc;
char **xfnv;
{
int retcode, f_cnt;
#ifndef CRTL_CP_IS_ISO
unsigned bufsize;
char **intern_ifv = NULL, **intern_xfv = NULL;
#endif
 
if (ifnv == (char **)NULL && ifnc != 0)
ifnc = 0;
else
for (f_cnt = 0; f_cnt < ifnc; f_cnt++)
if (ifnv[f_cnt] == (char *)NULL) {
ifnc = f_cnt;
break;
}
if (xfnv == (char **)NULL && xfnc != 0)
xfnc = 0;
else
for (f_cnt = 0; f_cnt < xfnc; f_cnt++)
if (xfnv[f_cnt] == (char *)NULL) {
xfnc = f_cnt;
break;
}
 
G.process_all_files = (ifnc == 0 && xfnc == 0); /* for speed */
G.filespecs = ifnc;
G.xfilespecs = xfnc;
 
if (ifnc > 0) {
for (f_cnt = ifnc; --f_cnt >= 0;)
if (strlen(ifnv[f_cnt]) > ((WSIZE>>2) - 160)) {
/* include filename pattern is too long for internal buffers */
FreeDllMem(__G);
return PK_PARAM;
}
 
#ifdef CRTL_CP_IS_ISO
G.pfnames = ifnv;
#else /* !CRTL_CP_IS_ISO */
intern_ifv = (char **)malloc((ifnc+1)*sizeof(char **));
if (intern_ifv == (char **)NULL)
{
FreeDllMem(__G);
return PK_BADERR;
}
 
bufsize = 0;
for (f_cnt = ifnc; --f_cnt >= 0;)
bufsize += strlen(ifnv[f_cnt]) + 1;
intern_ifv[0] = (char *)malloc(bufsize);
if (intern_ifv[0] == (char *)NULL)
{
free(intern_ifv);
FreeDllMem(__G);
return PK_BADERR;
}
 
for (f_cnt = 0; ; f_cnt++)
{
ISO_TO_INTERN(ifnv[f_cnt], intern_ifv[f_cnt]);
if ((f_cnt+1) >= ifnc)
break;
intern_ifv[f_cnt+1] = intern_ifv[f_cnt] +
(strlen(intern_ifv[f_cnt]) + 1);
}
intern_ifv[ifnc] = (char *)NULL;
G.pfnames = intern_ifv;
#endif /* ?CRTL_CP_IS_ISO */
}
 
if (xfnc > 0) {
for (f_cnt = xfnc; --f_cnt >= 0;)
if (strlen(xfnv[f_cnt]) > ((WSIZE>>2) - 160))
{
/* exclude filename pattern is too long for internal buffers */
#ifndef CRTL_CP_IS_ISO
if (ifnc > 0)
{
free(intern_ifv[0]);
free(intern_ifv);
}
#endif
FreeDllMem(__G);
return PK_PARAM;
}
 
#ifdef CRTL_CP_IS_ISO
G.pxnames = xfnv;
#else /* !CRTL_CP_IS_ISO */
intern_xfv = (char **)malloc((xfnc+1)*sizeof(char **));
if (intern_xfv == (char **)NULL)
{
if (ifnc > 0)
{
free(intern_ifv[0]);
free(intern_ifv);
}
FreeDllMem(__G);
return PK_BADERR;
}
 
bufsize = 0;
for (f_cnt = xfnc; --f_cnt >= 0;)
bufsize += strlen(xfnv[f_cnt]) + 1;
intern_xfv[0] = (char *)malloc(bufsize);
if (intern_xfv[0] == (char *)NULL)
{
free(intern_xfv);
if (ifnc > 0)
{
free(intern_ifv[0]);
free(intern_ifv);
}
FreeDllMem(__G);
return PK_BADERR;
}
 
for (f_cnt = 0; ; f_cnt++)
{
ISO_TO_INTERN(xfnv[f_cnt], intern_xfv[f_cnt]);
if ((f_cnt+1) >= xfnc)
break;
intern_xfv[f_cnt+1] = intern_xfv[f_cnt] +
(strlen(intern_xfv[f_cnt]) + 1);
}
intern_xfv[xfnc] = (char *)NULL;
G.pxnames = intern_xfv;
#endif /* ?CRTL_CP_IS_ISO */
}
 
/*---------------------------------------------------------------------------
Okey dokey, we have everything we need to get started. Let's roll.
---------------------------------------------------------------------------*/
 
retcode = setjmp(dll_error_return);
if (retcode)
{
#ifndef CRTL_CP_IS_ISO
if (xfnc > 0)
{
free(intern_xfv[0]);
free(intern_xfv);
}
if (ifnc > 0)
{
free(intern_ifv[0]);
free(intern_ifv);
}
#endif
FreeDllMem(__G);
return PK_BADERR;
}
 
retcode = process_zipfiles(__G);
#ifndef CRTL_CP_IS_ISO
if (xfnc > 0)
{
free(intern_xfv[0]);
free(intern_xfv);
}
if (ifnc > 0)
{
free(intern_ifv[0]);
free(intern_ifv);
}
#endif
FreeDllMem(__G);
return retcode;
}
 
 
/*
ifnc = number of file names being passed. If all files are to be
extracted, then this can be zero.
ifnv = file names to be unarchived. Wildcard patterns are recognized
and expanded. If all files are to be extracted, then this can
be NULL.
xfnc = number of "file names to be excluded from processing" being
passed. If all files are to be extracted, set this to zero.
xfnv = file names to be excluded from the unarchiving process. Wildcard
characters are allowed and expanded. If all files are to be
extracted, set this argument to NULL.
lpDCL = pointer to a structure with the flags for setting the
various options, as well as the zip file name.
lpUserFunc = pointer to a structure that contains pointers to functions
in the calling application, as well as sizes passed back to
the calling application etc.
*/
 
int WINAPI Wiz_SingleEntryUnzip(int ifnc, char **ifnv, int xfnc, char **xfnv,
LPDCL lpDCL, LPUSERFUNCTIONS lpUserFunc)
{
int retcode;
CONSTRUCTGLOBALS();
 
if (!Wiz_Init((zvoid *)&G, lpUserFunc))
{
DESTROYGLOBALS();
return PK_BADERR;
}
 
if (lpDCL->lpszZipFN == NULL)
{
/* Something has screwed up, we don't have a filename */
DESTROYGLOBALS();
return PK_NOZIP;
}
 
if (!Wiz_SetOpts((zvoid *)&G, lpDCL))
{
DESTROYGLOBALS();
return PK_MEM;
}
 
#ifdef SFX
G.zipfn = lpDCL->lpszZipFN;
G.argv0 = lpDCL->lpszZipFN;
#endif
 
/* Here is the actual call to "unzip" the files (or whatever else you
* are doing.)
*/
retcode = Wiz_Unzip((zvoid *)&G, ifnc, ifnv, xfnc, xfnv);
 
DESTROYGLOBALS();
return retcode;
}
 
 
/*
This calling wrapper provided a method to pass file lists as plain strings
instead of the usual string arrays. For VB Users only...
ifnc = number of file names being passed. If all files are to be
extracted, then this can be zero.
ExtList = Pointer to a list of file names to be extracted, separated by
white space. If all files are to be extracted, then this should
be NULL. Parameter ifnc should have an accurate count of the
number of filenames being passed in.
xfnc = number of "file names to be excluded from processing" being
passed. If all files are to be extracted, set this to zero.
ExcList = Pointer to a list of file names to be excluded from processing.
Parameter xfnc should have an accurate count of the number of
the number of filenames being passed in.
lpDCL = pointer to a structure with the flags for setting the
various options, as well as the zip file name.
lpUserFunc = pointer to a structure that contains pointers to functions
in the calling application, as well as sizes passed back to
the calling application etc.
*/
 
int WINAPI Wiz_SingleEntryUnzpList(unsigned int ifnc, LPCSTR ExtList,
unsigned int xfnc, LPCSTR ExcList,
LPDCL lpDCL, LPUSERFUNCTIONS lpUserFunc)
{
int retcode;
char **argVExt, **argVExc;
unsigned int argCExt, argCExc;
 
argCExt = argCExc = 0;
 
if (ExtList != NULL)
{
if ((argVExt = (char **)malloc((ifnc)*sizeof(char *))) == NULL)
{
fprintf(stdout, "Unable to allocate memory in unzip dll\n");
return PK_MEM;
}
if ((retcode = UnzipParseString(ExtList, &argCExt, &argVExt)) != PK_OK)
return retcode;
}
 
if (ExcList != NULL)
{
if ((argVExc = (char **)malloc((ifnc)*sizeof(char *))) == NULL)
{
fprintf(stdout, "Unable to allocate memory in unzip dll\n");
UnzipFreeArguments(argCExt, &argVExt);
return PK_MEM;
}
if ((retcode = UnzipParseString(ExcList, &argCExc, &argVExc)) != PK_OK)
{
UnzipFreeArguments(argCExt, &argVExt);
return retcode;
}
}
 
retcode = Wiz_SingleEntryUnzip(argCExt, argVExt, argCExc, argVExc,
lpDCL, lpUserFunc);
UnzipFreeArguments(argCExc, &argVExc);
UnzipFreeArguments(argCExt, &argVExt);
return retcode;
}
 
 
int win_fprintf(zvoid *pG, FILE *file, unsigned int size, char far *buffer)
{
if ((file != stderr) && (file != stdout))
{
return write(fileno(file),(char far *)(buffer),size);
}
if (!fNoPrinting)
return G.lpUserFunctions->print((LPSTR)buffer, size);
return (int)size;
}
 
/**********************************
* Function DllMessagePrint() *
* *
* Send messages to status window *
**********************************/
#ifdef __BORLANDC__
#pragma argsused
#endif
static int UZ_EXP DllMessagePrint(pG, buf, size, flag)
zvoid *pG; /* globals struct: always passed */
uch *buf; /* preformatted string to be printed */
ulg size; /* length of string (may include nulls) */
int flag; /* flag bits */
{
if (!fNoPrinting)
return G.lpUserFunctions->print((LPSTR)buf, size);
else
return (int)size;
}
 
#if 0 /* currently unused */
/********************************
* Function DllDisplayPrint() *
* *
* Send files to display window *
********************************/
#ifdef __BORLANDC__
#pragma argsused
#endif
int DllDisplayPrint(pG, buf, size, flag)
zvoid *pG; /* globals struct: always passed */
uch *buf; /* preformatted string to be printed */
ulg size; /* length of string (may include nulls) */
int flag; /* flag bits */
{
return (!fNoPrinting
? G.lpUserFunctions->print((LPSTR)buf, size)
: (int)size);
}
#endif /* never */
 
 
/**********************************
* Function UzpPassword() *
* *
* Prompt for decryption password *
**********************************/
#ifdef __BORLANDC__
#pragma argsused
#endif
int UZ_EXP UzpPassword(pG, rcnt, pwbuf, size, zfn, efn)
zvoid *pG; /* globals struct: always passed */
int *rcnt; /* retry counter */
char *pwbuf; /* buffer for password */
int size; /* size of password buffer */
ZCONST char *zfn; /* name of zip archiv */
ZCONST char *efn; /* name of archiv entry being processed */
{
#if CRYPT
LPCSTR m;
 
if (*rcnt == 0) {
*rcnt = 2;
m = "Enter password for: ";
} else {
(*rcnt)--;
m = "Password incorrect--reenter: ";
}
 
return (*G.lpUserFunctions->password)((LPSTR)pwbuf, size, m, (LPCSTR)efn);
#else /* !CRYPT */
return IZ_PW_ERROR; /* internal error, function should never get called */
#endif /* ?CRYPT */
} /* end function UzpPassword() */
 
/* Turn off all messages to the calling application */
void WINAPI Wiz_NoPrinting(int f)
{
fNoPrinting = f;
}
 
/* Dummy sound function for those applications that don't use sound */
static void WINAPI DummySound(void)
{
}
 
/* Interface between WINDLL specific service callback functions and the
generic DLL's "status report & user interception" callback */
#ifdef __BORLANDC__
#pragma argsused
#endif
static int WINAPI Wiz_StatReportCB(zvoid *pG, int fnflag, ZCONST char *zfn,
ZCONST char *efn, ZCONST zvoid *details)
{
int rval = UZ_ST_CONTINUE;
 
switch (fnflag) {
case UZ_ST_START_EXTRACT:
if (G.lpUserFunctions->sound != NULL)
(*G.lpUserFunctions->sound)();
break;
case UZ_ST_FINISH_MEMBER:
if ((G.lpUserFunctions->ServCallBk != NULL) &&
(*G.lpUserFunctions->ServCallBk)(efn,
(details == NULL ? 0L :
#ifdef Z_UINT8_DEFINED
(z_uint8)(*((zusz_t *)details))
#else
*((zusz_t *)details)
#endif
)))
rval = UZ_ST_BREAK;
else if (G.lpUserFunctions->ServCallBk_i32 != NULL) {
unsigned long siz_u4L = 0L;
unsigned long siz_u4H = 0L;
if (details != NULL) {
siz_u4L = (unsigned long)(*(zusz_t *)details);
#ifdef ZIP64_SUPPORT
siz_u4H = (unsigned long)((*(zusz_t *)details) >> 32);
#endif
}
if ((*G.lpUserFunctions->ServCallBk_i32)(efn, siz_u4L, siz_u4H))
rval = UZ_ST_BREAK;
}
break;
case UZ_ST_IN_PROGRESS:
break;
default:
break;
}
return rval;
}
 
 
#ifndef SFX
#ifndef __16BIT__
 
int WINAPI Wiz_UnzipToMemory(LPSTR zip, LPSTR file,
LPUSERFUNCTIONS lpUserFunctions, UzpBuffer *retstr)
{
int r;
#ifndef CRTL_CP_IS_ISO
char *intern_zip, *intern_file;
#endif
 
CONSTRUCTGLOBALS();
#ifndef CRTL_CP_IS_ISO
intern_zip = (char *)malloc(strlen(zip)+1);
if (intern_zip == NULL) {
DESTROYGLOBALS();
return PK_MEM;
}
intern_file = (char *)malloc(strlen(file)+1);
if (intern_file == NULL) {
DESTROYGLOBALS();
free(intern_zip);
return PK_MEM;
}
ISO_TO_INTERN(zip, intern_zip);
ISO_TO_INTERN(file, intern_file);
# define zip intern_zip
# define file intern_file
#endif
if (!Wiz_Init((zvoid *)&G, lpUserFunctions)) {
DESTROYGLOBALS();
return PK_BADERR;
}
G.redirect_data = 1;
 
r = (unzipToMemory(__G__ zip, file, retstr) == PK_COOL);
 
DESTROYGLOBALS();
#ifndef CRTL_CP_IS_ISO
# undef file
# undef zip
free(intern_file);
free(intern_zip);
#endif
if (!r && retstr->strlength) {
free(retstr->strptr);
retstr->strptr = NULL;
}
return r;
}
 
 
 
 
/* Purpose: Determine if file in archive contains the string szSearch
 
Parameters: archive = archive name
file = file contained in the archive. This cannot be
a wildcard to be meaningful
pattern = string to search for
cmd = 0 - case-insensitive search
1 - case-sensitve search
2 - case-insensitive, whole words only
3 - case-sensitive, whole words only
SkipBin = if true, skip any files that have control
characters other than CR, LF, or tab in the first
100 characters.
 
Returns: TRUE if a match is found
FALSE if no match is found
-1 on error
 
Comments: This does not pretend to be as useful as the standard
Unix grep, which returns the strings associated with a
particular pattern, nor does it search past the first
matching occurrence of the pattern.
*/
 
int WINAPI Wiz_Grep(LPSTR archive, LPSTR file, LPSTR pattern, int cmd,
int SkipBin, LPUSERFUNCTIONS lpUserFunctions)
{
int retcode = FALSE, compare;
ulg i, j, patternLen, buflen;
char * sz, *p;
UzpBuffer retstr;
 
/* Turn off any windows printing functions, as they may not have been
* identified yet. There is no requirement that we initialize the
* dll with printing stuff for this. */
Wiz_NoPrinting(TRUE);
 
if (!Wiz_UnzipToMemory(archive, file, lpUserFunctions, &retstr)) {
Wiz_NoPrinting(FALSE);
return -1; /* not enough memory, file not found, or other error */
}
 
if (SkipBin) {
if (retstr.strlength < 100)
buflen = retstr.strlength;
else
buflen = 100;
for (i = 0; i < buflen; i++) {
if (iscntrl(retstr.strptr[i])) {
if ((retstr.strptr[i] != 0x0A) &&
(retstr.strptr[i] != 0x0D) &&
(retstr.strptr[i] != 0x09))
{
/* OK, we now think we have a binary file of some sort */
free(retstr.strptr);
Wiz_NoPrinting(FALSE);
return FALSE;
}
}
}
}
 
patternLen = strlen(pattern);
 
if (retstr.strlength < patternLen) {
free(retstr.strptr);
Wiz_NoPrinting(FALSE);
return FALSE;
}
 
sz = malloc(patternLen + 3); /* add two in case doing whole words only */
if (cmd > 1) {
strcpy(sz, " ");
strcat(sz, pattern);
strcat(sz, " ");
} else
strcpy(sz, pattern);
 
if ((cmd == 0) || (cmd == 2)) {
for (i = 0; i < strlen(sz); i++)
sz[i] = toupper(sz[i]);
for (i = 0; i < retstr.strlength; i++)
retstr.strptr[i] = toupper(retstr.strptr[i]);
}
 
for (i = 0; i < (retstr.strlength - patternLen); i++) {
p = &retstr.strptr[i];
compare = TRUE;
for (j = 0; j < patternLen; j++) {
/* We cannot do strncmp here, as we may be dealing with a
* "binary" file, such as a word processing file, or perhaps
* even a true executable of some sort. */
if (p[j] != sz[j]) {
compare = FALSE;
break;
}
}
if (compare == TRUE) {
retcode = TRUE;
break;
}
}
 
free(sz);
free(retstr.strptr);
Wiz_NoPrinting(FALSE); /* Turn printing back on */
return retcode;
}
#endif /* !__16BIT__ */
 
int WINAPI Wiz_Validate(LPSTR archive, int AllCodes)
{
return UzpValidate((char *)archive, AllCodes);
}
 
#endif /* !SFX */
/programs/fs/unzip60/windll/windll.h
0,0 → 1,34
/*
Copyright (c) 1990-2003 Info-ZIP. All rights reserved.
 
See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
#ifndef __windll_h /* prevent multiple inclusions */
#define __windll_h
 
#include <windows.h>
#include <assert.h> /* required for all Windows applications */
#include <setjmp.h>
 
#include "../unzip.h"
#include "../windll/structs.h"
#include "../windll/decs.h"
 
/* Allow compilation under Borland C++ also */
#ifndef __based
# define __based(A)
#endif
 
#ifdef UNZIP_INTERNAL
 
extern jmp_buf dll_error_return;
 
extern HANDLE hInst; /* current instance */
 
int win_fprintf(zvoid *pG, FILE *file, unsigned int, char far *);
#endif
 
#endif /* __windll_h */
/programs/fs/unzip60/windll/windll.rc
0,0 → 1,50
#include <windows.h>
#if (defined(WIN32) && !defined(__EMX__) && !defined(__MINGW32__))
#include <winver.h>
#endif
#include "../unzvers.h"
 
VS_VERSION_INFO VERSIONINFO
FILEVERSION UZ_MAJORVER,UZ_MINORVER,UZ_PATCHLEVEL,0
PRODUCTVERSION UZ_MAJORVER,UZ_MINORVER,UZ_PATCHLEVEL,0
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
#ifdef _UNICODE
BLOCK "040904B0"
#else
BLOCK "040904E4"
#endif
BEGIN
VALUE "Comments", "\0"
VALUE "CompanyName", IZ_COMPANY_NAME "\0"
VALUE "FileDescription", "Info-ZIP's UnZip DLL for Win32\0"
VALUE "FileVersion", UZ_VER_STRING "\0"
VALUE "InternalName", "UnZip32\0"
VALUE "LegalCopyright", "Info-ZIP 1996-2009\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "UNZIP32.DLL\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Info-ZIP's UnZip Windows DLL\0"
VALUE "ProductVersion", UZ_VER_STRING "\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
#ifdef _UNICODE
VALUE "Translation", 0x409, 1200
#else
VALUE "Translation", 0x409, 1252
#endif
END
END
/programs/fs/unzip60/windll/windll.txt
0,0 → 1,434
There are now several entry points to the dll.
 
There is a single "unzipping" entry point of:
 
int WINAPI Wiz_SingleEntryUnzip(int ifnc, char **ifnv, int xfnc, char **xfnv,
LPDCL lpDCL, LPUSERFUNCTIONS lpUserFunc)
 
where the arguments are:
 
ifnc = number of file names being passed. If all files are to be
extracted, then this can be zero.
ifnv = file names to be unarchived. Wildcard patterns are recognized
and expanded. If all files are to be extracted, then this can
be NULL.
xfnc = number of "file names to be excluded from processing" being
passed. If all files are to be extracted, set this to zero.
xfnv = file names to be excluded from the unarchiving process. Wildcard
characters are allowed and expanded. If all files are to be
extracted, set this argument to NULL.
lpDCL = pointer to a structure with the flags for setting the
various options, as well as the zip file name.
lpUserFunc = pointer to a structure that contains pointers to functions
in the calling application, as well as sizes passed back to
the calling application etc. See below for a detailed description
of all the parameters.
 
This calling wrapper for Wiz_SingleEntryUnzip() provides a method to pass
file lists as plain strings instead of the usual string arrays.
For VB Users only...:
 
int WINAPI Wiz_SingleEntryUnzpList(unsigned int ifnc, LPCSTR ExtList,
unsigned int xfnc, LPCSTR ExcList,
LPDCL lpDCL, LPUSERFUNCTIONS lpUserFunc)
 
ifnc = number of file names being passed. If all files are to be
extracted, then this can be zero.
ExtList = Pointer to a list of file names to be extracted, separated by
white space. If all files are to be extracted, then this should
be NULL. Parameter ifnc should have an accurate count of the
number of filenames being passed in.
xfnc = number of "file names to be excluded from processing" being
passed. If all files are to be extracted, set this to zero.
ExcList = Pointer to a list of file names to be excluded from processing.
Parameter xfnc should have an accurate count of the number of
the number of filenames being passed in.
lpDCL = pointer to a structure with the flags for setting the
various options, as well as the zip file name.
lpUserFunc = pointer to a structure that contains pointers to functions
in the calling application, as well as sizes passed back to
the calling application etc.
 
 
The DCL structure collects the set of option flags supported by the WinDLL
interface to control the operation of the main function calls.
The first member of this structure is now a version identifier that should
be used to check structural compatibility of a passed option struct with
the expected structure layout. The C header file containing the reference
definition of the DCL structure also provides a symbol denoting the currently
valid StructVersID:
 
#define UZ_DCL_STRUCTVER 0x600
 
The layout of the DCL structure is shown below:
 
typedef struct {
unsigned StructVersID = struct version id (= UZ_DCL_STRUCTVER)
int ExtractOnlyNewer = TRUE for "update" without interaction
(extract only newer/new files, without queries)
int SpaceToUnderscore = TRUE if convert space to underscore
int PromptToOverwrite = TRUE if prompt to overwrite is wanted
int fQuiet = quiet flag:
0 = all messages, 1 = few messages, 2 = no messages
int ncflag = write to stdout if TRUE
int ntflag = test zip file
int nvflag = verbose listing
int nfflag = "freshen" (replace existing files by newer versions)
int nzflag = display zip file comment
int ndflag = controls (sub)directory recreation during extraction
0 = junk paths from filenames
1 = "safe" usage of paths in filenames (skip "../")
2 = allow also unsafe path components (dir traversal)
int noflag = always overwriting existing files if TRUE
int naflag = do end-of-line translation
int nZIflag = get ZipInfo if TRUE
int B_flag = backup existing files if TRUE
int C_flag = be case insensitive if TRUE
int D_flag = controls restoration of timestamps
0 = restore all timestamps (default)
1 = skip restoration of timestamps for folders
created on behalf of directory entries in the
Zip archive
2 = do not restore any timestamps; extracted files
and directories get stamped with the current time
int U_flag = controls UTF-8 filename coding support
0 = automatic UTF-8 translation enabled (default)
1 = recognize UTF-8 coded names, but all non-ASCII
characters are "escaped" into "#Uxxxx"
2 = UTF-8 support is disabled, filename handling
works exactly as in previous UnZip versions
int fPrivilege = 1 => restore ACLs in user mode,
2 => try to use privileges for restoring ACLs
LPSTR lpszZipFN = zip file name
LPSTR lpszExtractDir = directory to extract to. This should be NULL if you
are extracting to the current directory.
} DCL, far * LPDCL;
 
REMARKS:
The four extract-mode flags ExtractOnlyNewer, nfflag, PromptToOverwrite, and
noflag control which of the selected archive entries are actually processed.
They are mapped to UnZip's command line qualifiers "-u", "-f", "-o", "-n"
according to the following decision matrix:
_____________________________________________________________________
| UnZip 1)|| Extract- | nfflag | noflag | PrompTo- | lpUserFunc |
| options || OnlyNewer | | | Overwrite | ->replape() |
=====================================================================
| none 2) || false | false | false | true |queryfunc() 5)|
| -o || false | false | true | false | N/A |
| -n || false | false | false | false | N/A |
|---------||-----------|--------|--------|-----------|--------------|
| -u || true | false | false | true |queryfunc() 5)|
| -uo || true | false | true | false | N/A |
| -un 3) || true | false | false | false | N/A |
|---------||-----------|--------|--------|-----------|--------------|
| -f || N/A | true | false | true |queryfunc() 5)|
| -fo || N/A | true | true | false | N/A |
| -fn 4) || N/A | true | false | false | N/A |
---------------------------------------------------------------------
Legend: true: integer number <> 0
false: integer number 0
N/A: not applicable, could be set to any value
NOTES:
1) The UnZip options are explained in the generic UnZip manual, see
"unzip.txt" or "man/unzip.1".
2) no options from the set "ufno" are specified.
3) -un is functionally equivalent to -n
4) -fn is functionally equivalent to "do nothing", so this combination
does not make sense.
5) queryfunc() is a callback function provided by the caller of the
unzip dll that may return one of the following result keys:
IDM_REPLACE_NO, IDM_REPLACE_YES,
IDM_REPLACE_ALL, IDM_REPLACE_NONE,
IDM_REPLACE_RENAME
(IDM_REPLACE_TEXT, IDM_REPLACE_HELP are defined but not used)
UnZip's internal code treats a "NULL" lpUserFunc->replace() function
pointer as "{return IDM_REPLACE_NONE}". However, currently, the windll
interface checks for this function pointer to be not NULL and signals
a fatal error if this condition is not fulfilled.
 
 
The typedef's for the function pointers in the structure USERFUNCTIONS
are shown immediately below.
 
typedef unsigned short ush;
typedef int (WINAPI DLLPRNT) (LPSTR, unsigned long);
typedef int (WINAPI DLLPASSWORD) (LPSTR pwbuf, int bufsiz,
LPCSTR promptmsg, LPCSTR entryname);
typedef int (WINAPI DLLSERVICE) (LPCSTR entryname, z_uint8 uncomprsiz);
typedef int (WINAPI DLLSERVICE_I32) (LPCSTR entryname,
unsigned long ucsz_lo, unsigned long ucsz_hi);
typedef void (WINAPI DLLSND) (void);
typedef int (WINAPI DLLREPLACE) (LPSTR efnam, unsigned efbufsiz);
typedef void (WINAPI DLLMESSAGE) (z_uint8 ucsize, z_uint8 csize,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
typedef void (WINAPI DLLMESSAGE_I32) (unsigned long ucsiz_l,
unsigned long ucsiz_h, unsigned long csiz_l, unsigned long csiz_h,
unsigned cfactor,
unsigned mo, unsigned dy, unsigned yr, unsigned hh, unsigned mm,
char c, LPCSTR filename, LPCSTR methbuf, unsigned long crc, char fCrypt);
 
Structure USERFUNCTIONS
 
typedef struct {
DLLPRNT *print; = a pointer to the application's print routine.
DLLSND *sound; = a pointer to the application's sound routine. This
can be NULL if your application doesn't use
sound.
DLLREPLACE *replace = a pointer to the application's replace routine. The
replace routine may modify the content of the efnam
string buffer, but must not write beyond its fixed
size of efbufsiz bytes! (This is a potential security
leak of the windll interface.) When modifying the
efnam buffer, the replace routine should return
the status IDM_REPLACE_RENAME.
DLLPASSWORD *password = a pointer to the application's password routine.
This function should return one of the status values
IZ_PW_ENTERED (0), IZ_PW_CANCEL (-1),
IZ_PW_CANCEL_ALL (-2), IZ_PW_ERROR (5).
DLLMESSAGE *SendApplicationMessage = a pointer to the application's routine
for displaying information about specific files
in the archive. Used for listing the contents of
an archive.
DLLSERVICE *ServCallBk = Callback function designed to be used for
allowing the application to process Windows messages,
or canceling the operation, as well as giving the
option of a progress indicator. If this function
returns a non-zero value, then it will terminate
what it is doing. It provides the application with
the name of the archive member it has just processed,
as well as it's original size.
DLLMESSAGE_I32 *SendApplicationMessage_i32 = variant of SendApplicationMessage
callback, for environments that do not support the
64-bit integer types required to transfer "large"
ZIP64-compatible sizes.
DLLSERVICE_I32 *ServCallBk_i32 = variant of the ServCallBk callback function,
for environments that do not support 64-bit integers.
[NOTE: The _i32 variants of the SendApplicationMessage and ServCallBk callback
functions are only called when the corresponding "regular" callback
function pointers are set to NULL. For the i386 architecture, the
"..._i32" calling interfaces are binary identical with the
corresponding regular __int64-aware interfaces.]
[NOTE: The values below are filled in only when listing the contents of an
archive.]
z_uint8 TotalSizeComp = value to be filled in by the dll for the
compressed total size of the archive. Note this
value does not include the size of the archive
header and central directory list.
z_uint8 TotalSize = value to be filled in by the dll for the total
size of all files in the archive.
z_uint8 NumMembers = total number of files in the archive.
unsigned CompFactor = value to be filled in by the dll for the overall
compression factor. This could actually be computed
from the other values, but it is available.
WORD cchComment = flag to be set if archive has a comment
} USERFUNCTIONS, far * LPUSERFUNCTIONS;
 
Wiz_SingleEntryUnzip() returns a PKWARE compatible error code (0 if no
error or warning). For an explanation of the supported error codes see
the UnZip user documentation (the UnZip man page).
 
For examples of how the actual calls to the dll are set up in WiZ, look in
the files action.c and wizmain.c in the WiZ source directory. For a trival
example of how to load and call the dll, look in uzexampl.c and uzexampl.h.
 
For examples of how the actual loading and unloading of the dll's themselves
was done, look in wizmain.c in the WiZ source directory. Note that WiZ looks
specifically for a particular version number of the dll, and also expects to
find the company name to be Info-ZIP. This is to protect from getting
different versions of the dll loaded, with resulting unknown behavior.
 
Additional entry points:
 
const UzpVer * WINAPI UzpVersion(void);
 
where UzpVer is defined as:
 
typedef struct _UzpVer {
ulg structlen; /* length of the struct being passed */
ulg flag; /* bit 0: is_beta bit 1: uses_zlib */
LPCSTR betalevel; /* e.g. "g BETA" or "" */
LPCSTR date; /* e.g. "9 Oct 08" (beta) or "9 October 2008" */
LPCSTR zlib_version; /* e.g. "1.2.3" or NULL */
_version_type unzip; /* current UnZip version */
_version_type zipinfo; /* current ZipInfo version */
_version_type os2dll; /* OS2DLL version (retained for compatibility) */
_version_type windll; /* WinDLL version (retained for compatibility) */
_version_type dllapimin; /* last incompatible change of library API */
} UzpVer;
 
and _version_type is defined as:
 
typedef struct _ver {
uch major; /* e.g., integer 5 */
uch minor; /* e.g., 2 */
uch patchlevel; /* e.g., 0 */
uch not_used;
} _version_type;
 
See api.c for exactly what UzpVersion does, but the short description is
"UzpVersion() returns a pointer to a dll-internal static structure
containing the unzip32.dll version information".
 
For usage with languages that do not support function which return pointers
to structures, the variant UzpVersion2() allows to retrieve the version info
into a memory area supplied by the caller:
 
unsigned WINAPI UzpVersion2(UzpVer2 far *);
 
where UzpVer2 is defined as:
 
typedef struct _UzpVer2 {
ulg structlen; /* length of the struct being passed */
ulg flag; /* bit 0: is_beta bit 1: uses_zlib */
char betalevel[10]; /* e.g. "g BETA" or "" */
char date[20]; /* e.g. "9 Oct 08" (beta) or "9 October 2008" */
char zlib_version[10]; /* e.g. "1.2.3" or NULL */
_version_type unzip; /* current UnZip version */
_version_type zipinfo; /* current ZipInfo version */
_version_type os2dll; /* OS2DLL version (retained for compatibility) */
_version_type windll; /* WinDLL version (retained for compatibility) */
_version_type dllapimin; /* last incompatible change of library API */
} UzpVer2;
 
See api.c for the exact function of UzpVersion2, but the short description
is "fill in the version information in the UzpVer2 structure".
 
void WINAPI Wiz_NoPrinting(int flag)
 
This entry point simply turns off all messages to the calling application if
flag is true, and turns them on if flag is false.
 
int WINAPI Wiz_Validate(LPSTR archive, int AllCodes)
 
If AllCodes is FALSE, then Unz_Validate returns TRUE if archive points to a
valid archive, and FALSE otherwise. If AllCodes is TRUE, then Unz_Validate
returns whatever error code process_zipfiles returns, without evaluating it.
 
int WINAPI Wiz_UnzipToMemory(LPSTR zip, LPSTR file, LPUSERFUNCTIONS lpUserFunc,
UzpBuffer *retstr)
 
Where UzpBuffer is defined as:
 
typedef struct _UzpBuffer {
ulg strlength; /* length of string */
char * strptr; /* pointer to string */
} UzpBuffer
 
Pass the name of the zip file in zip and the name of the file you wish to
extract in file. UzpUnzipToMemory will create a buffer and return it in
*retstr. 0 on return indicates failure.
 
void WINAPI UzpFreeMemBuffer(UzpBuffer *retstr)
Use this routine to release the return data space allocated by the function
Wiz_UnzipToMemory().
 
int WINAPI Wiz_Grep(LPSTR archive, LPSTR file, LPSTR pattern, int cmd,
int SkipBin, LPUSERFUNCTIONS lpUserFunc)
 
Pass the name of the zip file in "zip", the name of the zip entry you wish
to perform the "grep" on in "file", and the string you wish to look for in
"pattern". There are four possible options for cmd:
 
0 => case insensitive search
1 => case sensitive search
2 => case insensitive search, whole words only
3 => case sensitive search, whole words only
 
If SkipBin is TRUE, then any binary (loosely interpreted) files will be
ignored.
 
lpUserFunc is a pointer to a USERFUNCTION structure as shown above.
 
UzpGrep returns:
 
-1 => error such as unable to allocate memory, unable to find file, etc.
0 => match not found, based on the search criteria
1 => match found, based on the search criteria
 
There is an additional function call that does not specifically deal with
"unzipping", but is a quite useful function that is currently used in Wiz
itself in several places. This call is currently only available in the
static library, not in the DLL.
 
Match the pattern (wildcard) against the string (fixed):
 
match(const char *string, const char *pattern, int ignore_case);
 
or, when UnZips WILD_SEP_AT_DIR compile-time option was set:
 
match(const char *string, const char *pattern, int ignore_case, int sepc);
 
returns TRUE if string matches pattern, FALSE otherwise. In the pattern:
 
`*' matches any sequence of characters (zero or more)
`?' matches any single character
[SET] matches any character in the specified set,
[!SET] or [^SET] matches any character not in the specified set.
 
In case the code was compiled with WILD_STOP_AT_DIR enabled, the pattern
wildcard functionality is modified as follows:
`*' matches any sequence of characters (zero or more) until the first
occurence of the separating character denoted by `sepc'
`**' matches any sequence of characters (zero or more)
 
A set is composed of characters or ranges; a range looks like ``character
hyphen character'' (as in 0-9 or A-Z). [0-9a-zA-Z_] is the minimal set of
characters allowed in the [..] pattern construct. Other characters are
allowed (i.e., 8-bit characters) if your system will support them.
 
To suppress the special syntactic significance of any of ``[]*?!^-\'', in-
side or outside a [..] construct, and match the character exactly, precede
it with a ``\'' (backslash).
 
The remaining functions are linked together. Their use would be as
follows (explanations for each function are shown further below):
 
#include "windll.h"
#include "structs.h"
MyApiCallingRoutine()
{
CREATEGLOBALS();
.
.
.
Wiz_Init(pG, lpUserFunctions); /* Set up user functions */
/* zvoid *pG, LPUSERFUNCTIONS lpUserFunctions */
.
.
do {
.
.
Wiz_SetOpts(pG, lpDCL); /* Set up unzipping options */
/* zvoid *pG, LPDCL lpDCL */
.
.
Wiz_Unzip(pG, ifnc, ifnv, xfnc, xfnv); /* Unzip files */
.
.
} while (!finished_condition)
.
.
DESTROYGLOBALS();
}
 
Each entry point is as defined below:
 
BOOL WINAPI Wiz_Init(zvoid *, LPUSERFUNCTIONS);
 
BOOL WINAPI Wiz_SetOpts(zvoid *, LPDCL);
 
int WINAPI Wiz_Unzip(zvoid *, int, char **, int, char **);
 
Note that you should use either Wiz_SingleEntryUnzip OR the series of calls
described above. Using both, depending on how you do it, could cause
problems. The series of "lower level" gives you more freedom to add additional
functionalities, whereas the single-entry api is easier to use. When using
the "series" of calls, make sure that Wiz_SetOpts and Wiz_Unzip are always
used together! When successfully called, Wiz_SetOpts has allocated some
internal structures which are in turn free'd by Wiz_Unzip.
 
Last revised January 18, 2009.
 
Mike White, Christian Spieler
/programs/fs/unzip60/windll/windll16.def
0,0 → 1,19
;module-definition file for Windows UnZip16 DLL -- used by link.exe
LIBRARY UNZIP16 ; Library module name
 
DESCRIPTION 'Windows Info-ZIP UnZip16 DLL by Mike White'
 
CODE PRELOAD FIXED
 
DATA PRELOAD MOVEABLE
 
EXPORTS
Wiz_SingleEntryUnzip
UzpVersion
Wiz_Init
Wiz_SetOpts
Wiz_Unzip
Wiz_Validate
Wiz_NoPrinting
UzpVersion2
 
/programs/fs/unzip60/windll/windll32.def
0,0 → 1,23
;module-definition file for Windows UnZip32 DLL -- used by link.exe
LIBRARY UNZIP32 ; Library module name
 
;DESCRIPTION 'Windows Info-ZIP UnZip32 DLL by Mike White'
 
;CODE PRELOAD FIXED
 
;DATA PRELOAD MOVEABLE
 
EXPORTS
Wiz_SingleEntryUnzip
Wiz_SingleEntryUnzpList
UzpVersion
Wiz_Init
Wiz_SetOpts
Wiz_Unzip
Wiz_Validate
Wiz_NoPrinting
UzpVersion2
Wiz_UnzipToMemory
Wiz_Grep
UzpFreeMemBuffer
 
/programs/fs/unzip60/windll/windll_lc.def
0,0 → 1,16
LIBRARY UNZIP32
 
 
EXPORTS
Wiz_SingleEntryUnzip=Wiz_SingleEntryUnzip
Wiz_SingleEntryUnzpList=Wiz_SingleEntryUnzpList
UzpVersion=UzpVersion
Wiz_Init=Wiz_Init
Wiz_SetOpts=Wiz_SetOpts
Wiz_Unzip=Wiz_Unzip
Wiz_Validate=Wiz_Validate
Wiz_NoPrinting=Wiz_NoPrinting
UzpVersion2=UzpVersion2
Wiz_UnzipToMemory=Wiz_UnzipToMemory
Wiz_Grep=Wiz_Grep
UzpFreeMemBuffer=UzpFreeMemBuffer
/programs/fs/unzip60/windll/windllgcc.def
0,0 → 1,18
LIBRARY UNZIP32
 
;DESCRIPTION 'Windows Info-ZIP UnZip32 DLL by Mike White'
 
 
EXPORTS
Wiz_SingleEntryUnzip=Wiz_SingleEntryUnzip@24
Wiz_SingleEntryUnzpList=Wiz_SingleEntryUnzpList@24
UzpVersion=UzpVersion@0
Wiz_Init=Wiz_Init@8
Wiz_SetOpts=Wiz_SetOpts@8
Wiz_Unzip=Wiz_Unzip@20
Wiz_Validate=Wiz_Validate@8
Wiz_NoPrinting=Wiz_NoPrinting@4
UzpVersion2=UzpVersion2@4
Wiz_UnzipToMemory=Wiz_UnzipToMemory@16
Wiz_Grep=Wiz_Grep@24
UzpFreeMemBuffer=UzpFreeMemBuffer@4