Devam Ediyor

Delphi XE2 7zip wrapper - repost 2

A. Build an interface to the latest versions of [url removed, login to view] exactly as found in

the attached file sevenzipwrap.pas. For your convenience the old sources of

7zip which have been converted into a DLL that exports the functions

declared in [url removed, login to view] have been attached to this email as "7zip wrap

sources for [url removed, login to view]". Note that these sources are almost 10 years old. It

will not be possible to update these because the underlying sources have

changed too much between the 10 year old 7zip sources and the 7zip sources

that are available today.

0) All functions and parameters must be implemented just as in the current

version in order to completely compatible our existing main application

which will use your code.

1) All formats which are available with the current 7zip library have to be

supported for compression, extraction, updates, testing, deletion, etc. This

includes native 7zip formats such as 7z and also third party formats such as


2) You must support all compression settings that are available for each

compression format, including stored (no compression) compression settings.

You are free to define your own "compression setting strings" as part of the

lpAdvancedOptions parameter of the compression function. You must also

support setting the number of threads to be used as part of this compression

setting string parameter, because new versions of 7zip are highly


3) You must support the highest compression settings that are possible in

the 7zip library for the native 7z format, and also for all other formats

such as ZIP. For example, while producing ZIP compatible archives, 7zip

actually produces files that are smaller than the ZIP files produced by

other archivers such as WinZip - by as much as 10%. Again as another

example, there is an "Ultra" compression setting in 7zip which requires

several gigabytes of memory during compression (and also with very large

extraction memory requirements); these should be fully supported.

4) Some example compression setting strings are provided below for your

convenience. Please note that some of these settings may be obsolete as of

the latest 7zip version, so this is why you are free to define your own

compression setting strings:

1- '-ms=off -mhc=off -m0=None -m0=Copy ' // store data in uncompressed form.

2- '-ms=off -mhc=off -m0=LZMA -m0d=15 -m0mf=hc3 -m0fb=32 ' // compress data

using the LZMA data compression algorithm and a 32 KB buffer for hash


3- '-ms=off -mhc=off -m0=LZMA -m0d=21 -m0mf=bt4 -m0fb=32 ' // compress data

using the LZMA data compression algorithm and a 4 MB buffer for binary


4- '-ms=on -mhc=on -m0=BCJ -m1=LZMA -m1d=23 -m1mf=bt4 -m1fb=64 ' pre-process

data using binary call jump converters to increase compressability, treat

all files as a continuous data stream, and use an 8 MB buffer for LZMA


5- '-ms=on -mhc=on -m0=BCJ2 -m1=LZMA -m1d=25 -m1mf=bt4b -m1fb=255 -m2=LZMA

-m2d=20 -m2mf=bt4b -m2fb=64 -m3=LZMA -m3d=20 -m3mf=bt4b -m3fb=64 -mb0:1

-mb0s1:2 -mb0s2:3 ' // pre-process data, compress from a continuous stream,

and use a 32 MB LZMA buffer.

5) Please ensure that you support both the older LZMA compression standard

and the newer LZMA2 compression standard when creating 7zip archives. This

can again be decided from the compression settings string parameter.

6) All work should be done with Embarcadero RAD Studio Delphi XE2. You

should not be creating any external C++ DLL as in the example provided;

because now it is possible to build direct Delphi interfaces to [url removed, login to view] from

a single Delphi unit and/or project.

7) Full Unicode support is required - both for storing Unicode file names

inside archives, and for extracting files/compressing files inside archives

to/from Unicode folder paths on the real file system.

8) The current (old version) DLL sources are at 7zipwrap_sources for [url removed, login to view]

only\src\7zipWrap\src\[url removed, login to view] - it is a Visual C++ 2003 project.

Beceriler: Delphi

Daha fazlasını gör: delphi wrapper, 7zip delphi, wrapper application, why use binary, why binary, trees in algorithm, string standard functions in c, strings for c standard, string hash, string algorithm, standard library string functions in c, src format file, order of trees, m3d files, hash strings, hash string, define algorithm in c, define algorithm, data trees, c standard library string functions, creating algorithm, compress string, binary trees in c, binary trees, binary algorithm

İşveren Hakkında:
( 14 değerlendirme ) Ankara, Turkey

Proje NO: #4403181



Greetings, I have large experience with 7z and wrapping [url removed, login to view] from within Delphi.

%selectedBids___i_period_sub_7% gün içinde 1050%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(4 Değerlendirme)

Bu iş için 4 freelancer ortalamada $1084 teklif veriyor


Hello, here is my bid

in %bids___i_period_sub_35% gün içinde1500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

Please check PMB

in %bids___i_period_sub_35% gün içinde1000%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

I can do this project! - [url removed, login to view]

in %bids___i_period_sub_35% gün içinde1750%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)

i have 14 years of experience in delphi

in %bids___i_period_sub_35% gün içinde787%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)