Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ArchiveReader and Stream

edited August 2008 in General
Hi!

I have a RAF-File in a blob, and it is zipped to save space.
I don't find a way to show the RAF from a Stream, so now I have to
unzip the file and save it to filesystem and Load it again to the
TppArchiveReader.

Is there a way to load the RAF from a Tmemorystream without
saving/loading it to the filesytem?

Thank you.


Gruß aus den Bergen
Günter

Comments

  • edited August 2008
    Hi Günter,

    One option would be to save the streamed archive to a database table and
    load it using the DBArchiveReader. Another would be to create a descendent
    to the TppArchiveReader (similar to the ppDBArchiveReader) that overrides
    the CreateStream routine and returns the memory stream you create.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2008
    We have had other request in the past for this functionality.

    RB 11 will have a new ArchiveReader.ArchiveStream property that can be
    assigned for this purpose.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2008
    In article <48b6aada@mail.>, Nard Moseley (Digital Metaphors) wrote:

    Do you have a timeframe for the release of RB11 and will it still work
    with D7?

    Gruß aus den Bergen
    Günter
  • edited August 2008
    > Do you have a timeframe for the release of RB11 and will it still work

    AFAIK RB11 will be released after Delphi 2009 is launched, and yes, will
    work with D7.
This discussion has been closed.