piter
New Member
Posts: 4
|
Post by piter on Sept 28, 2004 0:20:03 GMT -5
Hello,
I don't know how can I use these events. There is only a short notice about these events in a help file. Could you please give me a simple example how can I use it? I'll be very appreciate for your help.
Greetings, Piotr Murawski
|
|
|
Post by Kevin on Sept 28, 2004 6:45:40 GMT -5
The reason that there is very little in the help files about these events is because they probably don't have a lot of value by themselves for strong encryption. I really don't have any real examples of using them.
Basically what you can do is modify the buffer that is sent into OnEncrypt, but it is up to you to be sure to modify the buffer in such a way that you also know how to undo the modification in OnDecrypt.
You can look at the buffer that is sent in as the compressed data in a steady stream, that is, the buffers show up in serial order from beginning to the end of the compressed data.
Kevin
|
|
|
Post by Piter on Oct 19, 2004 12:26:30 GMT -5
Thanks for your answer. but can you tell me how can I get a name of currently compress file. I need a file name to open it as a stream and then write it as a stream.
Piotr
|
|
|
Post by Kevin on Oct 19, 2004 17:07:32 GMT -5
The OnStartZip event has the filename of the file passed in. It is called just before compressing.
|
|