I am writing an application that needs to extract from password protected .7z archives. Archives without password protection are working fine. However, when opening archives with password protection (filenames are also encrypted), it always returns E_NOTIMPL. Digging through the code, the failing line is "coder.Coder.QueryInterface(IID_ISequentialOutStream, &seqOutStream);" inside CCoderMixer2ST::GetOutStream(). It couldn't get any ISequentialOutStream. Any idea?
Please help. Thank you very much
Don't use CCoderMixer2ST.
I don't test that code now.
Use multithreading code insted.
Facing the same problem. _ST_MODE doesn't work for password protected 7z files.
NCompress::NLzma::CDecoder doesn't implement ISequentialOutStream and ICompressSetOutStream
I do need using ST mode, any ideas?
PS. Why are there 2 defines _7ZIP_ST and _ST_MODE? Are they working at all?
Now I don't test that single-thread code.
Why do you need it?
Just wanted to make things simple when porting 7z unpacking code to linux. Have to use p7z I think...
I wouldn't say the word "test" here. It simply doesn't work as it should. win32 threads, syncrhonization objects are everywhere.. almost impossible to eliminate to make things work in a single thread.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.