[delphizip] Re: ExtractStreamToStream

Hi Werner,

Maybe the you need set to set xxStream.Position := 0 before you save the 
ZipStream into another stream.
After writing to your stream, the postion is probably at the end and you 
need to set it back to the beginning
before you save it into a filestream

HTH,
Gerard.

At 01:41 p.m. 23/02/2005, you wrote:


>Hi there,
>
>Please help, I'm having endless troubles with the ExtractStreamToStream
>method. What I need is to extract a zip stream directly that was not
>inititialy created by TZipMaster. So it does not have the first 6 bytes as
>is mentioned in the help.
>
>Please send me code examples of how I go about doing this, because I don't
>receive any error, but after the ExtractStreamToStream  is executed, I save
>the contents of  TZipStream to a file only to discover that the file is zero
>bytes in size!
>
>ANY help will be greatly appreciated!!!! Thanks for this free component!
>
>Werner Kok


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 21/02/2005


-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: