Unusual error

Nov 30, 2010 at 10:33 PM

It seems when the SevenZipArchive is being disposed of during garbage collection, I run into this error:

Unable to cast COM object of type 'System.__ComObject' to interface type 'SevenZipLib.IInArchive'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{23170F69-40C1-278A-0000-000600600000}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

I'm not a professional and I've got no clue how to go about fixing this.  Any ideas?  

Dec 1, 2010 at 6:11 PM

Nevermind I fixed it!  Initializing the archive in a Using statement cleared it up.  Thanks for this sweet library!