LZMA Or 7zip in Delphi

守給你的承諾、 提交于 2019-12-01 05:10:54

问题


Is there any Library in Delphi to handle LZMA (or 7zip)files including creating self extracting EXEs

There are some sources code at 7zip.orgin (c++ java c#) but i want them in delphi

BUT i want something which is stand alone (No DLLs)


回答1:


there are two solutions:

1) use the into native pascal translated sdk:

Pascal LZMA SDK

Source Download

2) you can compile the c version of the sdk into obj files and link them to your delphi project. this one requires a translation of the header files to delphi and it requires lots of c knowledge.

LZMA SDK




回答2:


Inno setup have delphi source code to encode and decode lzma.

http://www.jrsoftware.org/isdl.php

you could also simply use inno setup to create your self extractor.




回答3:


try http://www.progdigy.com/?page_id=13 it might be what you need




回答4:


JCL has JclCompression library which support 7zip and there's Delphi 7 Zip API both of them are open source project.




回答5:


A patch for Delphi Zip that support both LZMA and Zip64 is ready: delphi-zip



来源:https://stackoverflow.com/questions/4344976/lzma-or-7zip-in-delphi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!