Skip to content

Bit7zLibrary

Oz edited this page Jun 18, 2026 · 13 revisions

The Bit7zLibrary class allows accessing the basic functionalities provided by the 7z DLLs.

#include <bit7z/bit7zlibrary.hpp>

List of all members

Public Members

Return type Name
Bit7zLibrary( const tstring& libraryPath = kDefaultLibrary )
~Bit7zLibrary() = default
void setLargePageMode()
void useLargePages() const

Member Function Documentation

Bit7zLibrary( const tstring& libraryPath = kDefaultLibrary )

Constructs a Bit7zLibrary object by loading the specified 7zip shared library. By default, it searches a 7z.dll in the same path of the application.

Parameters:

  • libraryPath: the path to the shared library file to be loaded.

~Bit7zLibrary() = default

Destructs the Bit7zLibrary object, freeing the loaded shared library.


void setLargePageMode()

Warning

Deprecated: Since v4.1. Please use the useLargePages() method.

Set the 7-zip shared library to use large memory pages.


void useLargePages() const

Set the 7-zip shared library to use large memory pages.


Clone this wiki locally