79490522

Date: 2025-03-06 19:54:01
Score: 1.5
Natty:
Report link

as it looks like nobody solved it so far, I want to suggest this solution, even after 13 years:

  // e.g. or any other convenient stream
  strStr := TStringStream.create('');
  //..
  arcItem.Stream   := strStr;    // set your stream 
  arcItem.Selected := True;  
  archive.ExtractSelected(''); // extracts to your stream, DestinationDir seems to be ignored, even if provided
  strStr.Position  := 0;       // read stream from the beginning
  OutputDebugString( PChar( strStr.DataString ) );
  //..
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Horst Neubauer