Closed jf3096 closed 2 years ago
Hi!
7-zip DLL used
7za.dll
unable extract. error: {mErrorCode=CLASS_E_CLASSNOTAVAILABLE ClassFactory cannot supply requested class }
BitExtractor extractor{ lib, BitFormat::Split };
I think the problem is in the DLL you are using: the 7za.dll
doesn't support the BitFormat::Split
format; it supports only the 7z format (e.g., BitFormat::SevenZip
).
For extracting split archives, you should use the 7z.dll
, which supports all formats. You can find a table with the supported features of each 7-zip DLL here: https://github.com/rikyoz/bit7z/wiki/7z-DLLs.
Thank you very much for quick reply. But I cannot find 7z.dll in https://www.7-zip.org/. Could you please guide me to a site where I can download 7z.dll?
Thank you very much for quick reply. But I cannot find 7z.dll in https://www.7-zip.org/. Could you please guide me to a site where I can download 7z.dll?
One way I know to obtain the already compiled 7z.dll file is to download the usual 7-zip installer, and extract it:
Alternatively, if you already installed 7-zip, you might find the DLL in its installation folder under
C:\Program Files\7-zip
.
thank you! it works
thank you! it works
You're welcome! :)
bit7z version
3.1.x
7-zip version
v21.07
7-zip DLL used
7za.dll
MSVC version
2017
Architecture
x86_64
Which version of Windows are you using?
Windows 10
Bug description
unable extract. error:
{mErrorCode=CLASS_E_CLASSNOTAVAILABLE ClassFactory cannot supply requested class }
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
No response
Code of Conduct