如何使用 Infozip 来解压zip文件,需要的功能只是列表 zip 文件的文件树结构,和从中解压文件的功能(解压的文件或内存);因为我的程序是一个非 MFC 的 C 程序,所以不能使用那些现成的 MFC 类,只能直接调用 infozip 的库完成,高手门可有相关的代码?
解决方案 »
- c++ 如何获取http网页和文件的大小
- 在OnCtlColor()中使用8个pWnd->GetDlgCtrlID() == IDC_EDIT..会出现错误,为什么呢?
- 如何在一个程序中激活另一个已经被最小化或失去焦点的窗口
- 我编写了一个activex控件,如何在繁体版的windows操作系统中显示文字?
- 关于多线程的等待函数~~~
- 进度条的问题?
- 请教“马鞍形”的曲线学名叫什么?如何画?帮帮忙,不然要失业啦!
- TCP/IP ,和UDP那个可靠,UDP会不会出现先发的报文后收到,后发的报文先收到,TCP/IP会吗?
- 请教一个C++问题
- 在中文操作系统上,怎样从程序 SHELLWINDOWS 类里得到韩文网页(在IE里能正确显示)的正确编码
- 要做一个播放264文件的程序。请高手给指指路了,谢谢
- 有没有哪位大大有编译好的libjinle,发给我好吗,散分100
http://www.zlib.net/manual.html
使用解压缩
int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);
================
Minizip: Zip and UnZip additionnal library
----------------
This package enables to extract files from a .zip archive file. It is compatible with PKZip 2.04g, WinZip, InfoZip, MimarSinan Codex Suite 2002 tools, and compatible sofware.
It runs both under Linux and Windows, and probably other systems too. Encryption, multi-volume Zip files (span), and old compression methods used by old PKZip 1.x are not supported.Now, with version 1.23 and 1.14 of zLib, the Minizip library is inlucded in the contrib/minizip directory.