我如何创建一个C程序来提取和读取C/C ++中的zip文件 [英] how do i create a c program that extract and reads zip files in C/ C++

查看:199
本文介绍了我如何创建一个C程序来提取和读取C/C ++中的zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:mad :: mad :: mad:
我将zipfldr.dll加载到我的应用程序中,我也有一些功能列表:-D但我不知道如何使用这些功能,你能给我代码示例吗,因为我在zip文件中用Visual C语言制作了一个项目和XML文件

:mad::mad::mad:
i load the zipfldr.dll in my application and i also had some function list :-D but i don''t know how to use those functions can u just give me code example cause i am making a project in visual c on zip files and XML files

推荐答案

答案取决于您没有提及的太多内容.

假定它是常规的Win32 DLL,则可以使用 LoadLibrary() [ ^ ]和 GetProcAddress() [
The answer depends on too many things that you haven''t mentioned about.

Assuming that it''s a regular Win32 DLL, you could use LoadLibrary()[^] and GetProcAddress()[^] or you could just use the .lib file that came with the DLL (if there was one).

If it were a COM dll, you''d register it and use it like using any other COM component.

Please search for and read up articles on both topics. Explaining them in great detail is out of context for a forum post like this.


您可以使用名为 Depends 检查您尝试使用的dll的公开API.使用Google查找下载.
You can use a (free) program called Depends to examine the exposed API of the dll you''re trying to use. Use google to find the download.


Hi, the same question has been discussed at:
http://bytes.com/topic/c/answers/764381-reading-contents-zip-files
maybe you can find what you want there


这篇关于我如何创建一个C程序来提取和读取C/C ++中的zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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