额,虽然说rar有版权,但是貌似压缩时候用这个格式才需要授权,解压的话不用授权. zlib库不能用了解压rar文件. 如果想自己在程序里面解压rar的话,去工程网站:http://www.unrarlib.org/去上面把源码下下来,把 unrarlib.h unrarlib.c 包含在自己的工程里面就可以用解压rar了,里面有使用的样板. 去到网站翻到网站最下面 16.06.2002 Release of unrarlib 0.4.0 featuring improved samples, minor fixes and a new dual license (GPL and unrarlib-license). Download the latest unrarlib here. 点红色字下载参考资料:http://hplonline20090711.blog.163.com/blog/static/121969114200961174548934/
解压缩 rar 可以去 rar 的官网下载 unrar dll
zlib库不能用了解压rar文件.
如果想自己在程序里面解压rar的话,去工程网站:http://www.unrarlib.org/去上面把源码下下来,把
unrarlib.h
unrarlib.c
包含在自己的工程里面就可以用解压rar了,里面有使用的样板.
去到网站翻到网站最下面
16.06.2002 Release of unrarlib 0.4.0 featuring improved samples, minor fixes and a new dual license (GPL and unrarlib-license). Download the latest unrarlib here.
点红色字下载参考资料:http://hplonline20090711.blog.163.com/blog/static/121969114200961174548934/