CCoderMixer2ST and ICryptoGetTextPassword

  • Anonymous - 2012-01-04


    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


  • Igor Pavlov

    Igor Pavlov - 2012-01-04

    Don't use CCoderMixer2ST.
    I don't test that code now.
    Use multithreading code insted.

  • crystalidea

    crystalidea - 2013-06-26

    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?

    Last edit: crystalidea 2013-06-26
  • Igor Pavlov

    Igor Pavlov - 2013-06-26

    Now I don't test that single-thread code.
    Why do you need it?

  • crystalidea

    crystalidea - 2013-06-26

    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.

    Last edit: crystalidea 2013-06-26

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks