Find Jobs
Hire Freelancers

Delphi XE2 + 7-Zip Delphi API

$30-250 USD

Cancelled
Posted about 11 years ago

$30-250 USD

Paid on delivery
We are trying to use the 7-Zip Delphi API ([login to view URL]), unfortunately we ran into a problem. We are having trouble calling the SevenZipSetBindInfo function. The command line equivalent of what we’re trying to pass is: " -mb0:1 -mb0s1:2 -mb0s2:3" (without qoutas) This string gives the desired compression ratio. This function does the following: procedure SevenZipSetBindInfo(Arch: I7zOutArchive; const bind: UnicodeString); begin [login to view URL]('B', bind); end; Whatever parameter we pass as "bind" appears to be rejected here. Now passing this binding string accurately is really important - if we don’t, then the file sizes grow like 15% more according to our existing C++l ibrary solution and this is not acceptable for us. We are intended to remove C++ side from our pure Delphi product. Could you provide me with an estimate of time and price (seperate for each item) to figure out the 1- above issue (binding parameter), and then to 2- implement a high-level API per the function specifications below? TPasswordCallback = function(lpPassword: PChar): Integer; stdcall; TProgressCallback = function(lpCurrentFileName: PChar; uiCompleted, uiTotal: Int64): Integer; stdcall; TOverwriteCallback = function(lpArchiveFileName, lpDiskExistingFileName: PChar; uiArchiveFileSize, uiDiskExistingFileSize: Int64; ftArchiveFileLastWrite, ftDiskExistingFileLastWrite: TFILETIME): Integer; stdcall; TErrorCallback = function(lpCurrentFileName: PChar; dwErrorCode: LongWord): Integer; stdcall; function ListArchiveContents(Archive, Password: String; var Error: String; Names, Encrypted, Sizes, CompSizes, DateTimes: TStrings; PasswordCallback: TPasswordCallback; AllowForce: Boolean = True): Boolean; function ExtractArchiveContents(Archive, Password, Folder: String; WithPath, Overwrite: Boolean; var Error: String; Items: TStrings; Progress: TProgressCallback; OverwriteBack: TOverwriteCallback; ErrorBack: TErrorCallback; PasswordBack: TPasswordCallback): Boolean; function CompressArchiveContents(Archive, Password, Options: String; Kind, Path: Integer; var Error: String; Items, Recursive: TStrings; Progress: TProgressCallback; ErrorBack: TErrorCallback): Boolean; *) Everything must target Unicode versions of Delphi XE2. *) We will provide a (TEST) sample archive (contains several files with different formats eg: txt, bmp, jpg, exe, npg, avi, mp3, wav etc.) that has been prepared with our existing C++ interface and expect the same result from your solution. This archive will be the proof of your work.
Project ID: 4217110

About the project

3 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $267 USD for this job
User Avatar
Greetings, I have a large experience in 7z, and have a general-purpose API wrapper for 7z, more details in inbox.
$250 USD in 10 days
5.0 (3 reviews)
4.1
4.1
User Avatar
I'd like to check the project. More details in PMB.
$250 USD in 10 days
4.9 (5 reviews)
3.8
3.8
User Avatar
PLease check PMB
$300 USD in 10 days
5.0 (2 reviews)
3.3
3.3

About the client

Flag of TURKEY
Ankara, Turkey
4.2
14
Payment method verified
Member since Jan 19, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.