从Visual C ++ / MFC项目以编程方式压缩/解压缩 [英] Zip/Unzip programmatically from Visual C++/MFC project

查看:98
本文介绍了从Visual C ++ / MFC项目以编程方式压缩/解压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想,压缩,解压缩是一项非常常见的任务。

I guess, zipping, unzipping is a quite common task.

我预计,我会找到一些东西开箱即用的VS2015 / VS2017。

I expected, I will find something for VS2015/VS2017 out of the box.

但我找不到一个简单的例子。

But I failed searching for a simple example.

我需要生成和解压缩与zip标准格式兼容的档案(与Rar,Winzip,7Zip一起使用)。

I would need to generate and to unzip archives, which are compatible to zip-Standard Format (as used with Rar, Winzip, 7Zip).

这里
https://social.msdn.microsoft.com/Forums/security/en-US/53172c70-7c9b-4235- a33c-371e18632eaa / compress-file-with-windows-compression-api-createcompressor-the-compress-file-can-not-open?forum = windowsgeneraldevelopmentissues

我已经找到了一个示例项目的提示,但是链接"  Win32ZipDemo.zip "似乎被打破了。在哪里我可以找到这个演示或其他样本,我可以用它作为
我的工作的基础?非常感谢,Richard

I have found a hint to a sample project, but the link " Win32ZipDemo.zip " seems to be broken. Where I am able to find this demo or other samples, which I could use as base for my work? Many Thanks, Richard

推荐答案



我找到了一个示例项目的提示,但是链接"  Win32ZipDemo.zip "似乎被打破了。在哪里我可以找到这个演示或其他样本,我可以用它作为
我的工作的基础?非常感谢,Richard


I have found a hint to a sample project, but the link " Win32ZipDemo.zip " seems to be broken. Where I am able to find this demo or other samples, which I could use as base for my work? Many Thanks, Richard


我创建了一个新链接,您可以在
https://1drv.ms/u/s!AmnqrCFBv4nDgSRhN1EeP7HjAhzA


这篇关于从Visual C ++ / MFC项目以编程方式压缩/解压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆