|
Post by Christian Faucher on Oct 16, 2003 13:32:33 GMT -5
Does any one have an exemple how to use the OnGetNextStream feature?
Thanks.
|
|
|
Post by Kevin on Oct 16, 2003 14:40:53 GMT -5
I'll see what I can do. I'm a little behind on my to-do list right now but I'll get something simple together soon as I can. Kevin
|
|
|
Post by Kevin on Oct 16, 2003 18:46:43 GMT -5
OK, I have uploaded an example project that uses ZipFromStream and OnGetNextStream to zip several streams into an archive. Note that there are two examples. For D6 or D7 use: www.vclzip.net/ongetnextstream.zipfor D4 or D5 use: www.vclzip.net/ongetnextstreamd4d5.zipWhen working with streams, D4 and D5 require that you use TkpHugeStreams, in this case TkpHugeMemorySteam, while in D6 and D7 you can use regular TStreams. This is because D6 and D7 TStreams have Int64 capabilities but D4 and D5 TStreams do not. Let me know if you have any questions about this example. Thanks, Kevin
|
|