Available DLLs
Format DLLs
| DLL | Bundle Location | Formats Supported |
|---|---|---|
| 7z.dll | Format7zF | All formats (7z, ZIP, TAR, RAR, ISO, etc.) |
| 7za.dll | Format7z | 7z format only |
| 7zxa.dll | Format7zExtract | 7z extraction only |
| 7zr.dll | Format7zR | 7z reduced version |
| 7zxr.dll | Format7zExtractR | 7z extraction reduced |
DOC/readme.txt (lines 270-274):
GUI DLLs
| DLL | Description |
|---|---|
| 7-zip.dll | Shell extension for Windows Explorer |
| 7-zip32.dll | FAR Manager plugin (32-bit) |
| 7-zip64.dll | FAR Manager plugin (64-bit) |
DLL Architecture
COM Interface
7-Zip DLLs use COM interfaces but with a simplified creation mechanism: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
FromCPP/7zip/Archive/IArchive.h:
IOutArchive - Creating Archives
Property IDs
FromCPP/7zip/PropID.h (lines 1-70):
Example: Reading Archive
Example: Extracting Files
Example: Creating Archive
Format CLSIDs
FromCPP/7zip/Guid.txt:
Building DLLs
Windows
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
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.