Skip to content

Bit7zLibrary

Oz edited this page Apr 20, 2016 · 11 revisions

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

#include "bit7zlibrary.hpp"

List of all members

Public Members

Return type Name
Bit7zLibrary( const std::wstring &dll_path=DEFAULT_DLL )
~Bit7zLibrary()
void createArchiveObject( const GUID *format_ID, const GUID *interface_ID, void **out_object ) const

Member Function Documentation

Bit7zLibrary( const std::wstring &dll_path=DEFAULT_DLL )

Constructs a Bit7zLibrary object using the path of the wanted 7zip DLL.

By default, it searches a 7z.dll in the same path of the application.


#### virtual ~[Bit7zLibrary](./Bit7zLibrary-Class)() Destructs the Bit7zLibrary object, freeing the loaded dynamic-link library (DLL) module.
#### void createArchiveObject( const GUID *format_ID, const GUID *interface_ID, void **out_object ) const Initiates the object needed to create a new archive or use an old one.

Note: In previous versions of bit7z (v1.x) this method was private, but from 2.x it was made public, in order to improve code reuse in the classes that operate with it.


Clone this wiki locally