ArchiveReader and Stream
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
Do you have a timeframe for the release of RB11 and will it still work
with D7?
Gruß aus den Bergen
Günter
AFAIK RB11 will be released after Delphi 2009 is launched, and yes, will
work with D7.