[LibraryManager.cs] Error on new SevenZipExtractor (SEHException)


This error is ocurring with .7z file format when trying to initialize a new instance of SevenZipExtractor in InArchive method (LibraryManager.cs). Concretly on delegate call to createObject(ref classID, ref interfaceId, out result). A SEHException is being thrown with "An external component thrown an exception" message.
I have 7z.dll (also 7z64.dll) copied correctly and the OS is a Windows 7 Home Premium SP1 x86 . In other systems i have tested it works like a charm (windows XP x86 and windows 7 Ultimate x86/x64)


roker002 wrote Apr 24, 2012 at 8:59 PM

are you using the source code just dll? Its better if you use the source code that contains 7z lib!

dquest wrote Apr 25, 2012 at 10:47 AM

I'm using "source code" avaliable on downloads section as a project of my solution. This source code contains the 7z.dll. (maybe i didn't understand what you said)
As a workaround, when initializing a SevenZipExtractor object and a SEHException is thrown the code launches a process extracting the archive using the command line and 7z.exe.

wrote Nov 6, 2012 at 4:55 PM

wrote Feb 22, 2013 at 1:16 AM