Skip to main content
7-Zip provides COM-based DLLs for integrating archive functionality into Windows applications.

Available DLLs

Format DLLs

From DOC/readme.txt (lines 270-274):

GUI DLLs

DLL Architecture

COM Interface

7-Zip DLLs use COM interfaces but with a simplified creation mechanism:
From DOC/readme.txt (lines 217-228):
7-Zip consists of COM modules (DLL files). But 7-Zip doesn’t use standard COM interfaces for creating objects.

Loading DLLs

Load Format DLL

Create Archive Handler

Archive Interfaces

IInArchive - Reading Archives

From CPP/7zip/Archive/IArchive.h:

IOutArchive - Creating Archives

Property IDs

From CPP/7zip/PropID.h (lines 1-70):

Example: Reading Archive

Example: Extracting Files

Example: Creating Archive

Format CLSIDs

From CPP/7zip/Guid.txt:

Building DLLs

Windows

Result: 7z.dll

Project Files

Visual Studio project files are included:
  • Format7zF.dsp - Visual Studio 6.0
  • Can be upgraded to newer VS versions

DLL Dependencies

The format DLLs have no external dependencies:
  • Statically linked runtime
  • No MFC or ATL required
  • Only Windows API
From DOC/readme.txt (lines 217-228):
If you don’t like it, you must use standalone version of DLL. To compile standalone version of DLL you must include all used parts to project and define some defs.

See Also