开发者

CGZIPLibrary.dll not compressing files

开发者 https://www.devze.com 2023-03-08 14:31 出处:网络
HI, I am using CGZipLibrary.dll in my code for zipping the files. A .zip file is bein开发者_开发问答g created but the file is not getting compressed. The original file and the .zip file are of same si

HI, I am using CGZipLibrary.dll in my code for zipping the files. A .zip file is bein开发者_开发问答g created but the file is not getting compressed. The original file and the .zip file are of same size.

Please provide some suggestions. Thanks in advance.


CGZipLibrary.dll... that's a rather old library if my memory is serving me right, I remember using it (or some other library with a similary name) in some old VB6 projects, and I had to update it because it had some problems when compressing folder structures. I may have the updated library lying somewhere around.

For .Net there are better alternatives like SharpZipLib and DotNetZip. I see the question is tagged with VB6 as well... if you need to use the library from VB6, from what I know, DotNetZip is marked as visible for COM, so you should be able to use it as well, although haven't tried it myself.

0

精彩评论

暂无评论...
验证码 换一张
取 消