Hello,
I have a program that compresses single files using an old version of the pkware Data Compression Library V1.11. Its so old its on 5 1/4 floppy!
Anway, I want to use SharpZipLib to compress and uncompress my files now, but would really like to not have to go through a conversion process.
I have several hundred files with almost a thousand users of my system. To go through a conversion would be a pain.
What is basically happening is that the old dll is calling the libraries implode and explode function.
About the only thing I have control over is the following for implode
/* Initialize CRC */
Param.CmpPhase = 1;
Param.CRC = (unsigned long) -1;
type = CMP_ASCII;
/* Use ASCII compression */
dsize = 4096;
/* Use 4K dictionary */
implode(ReadData, WriteData, WorkBuff, &Param, &type, &dsize);
For Expload it is pretty much the same
/* Initialize CRC */
Param.CmpPhase = 0;
Param.CRC = (unsigned long) -1;
puts(
"Calling Explode");
Error = explode(ReadData, WriteData, WorkBuff, &Param);
Does this translate at all to sharp zip lib somewhere? I've been trying to get something to work for hours now with no luck.
Thanks in advance.
Ken