Skip to content

19.09

Latest

Choose a tag to compare

@Wilenty Wilenty released this 27 Aug 10:12
7cddf59

Added two functions to change 7z.dll location

Function prototypes

Delphi/Pascal

//ANSI:
Function Set7zDllPathFileA(const FullPathToThe7zDLL: PAnsiChar): BOOL; stdcall;
//	External '7zOverlay.dll' name 'Set7zDllPathFileA';
Function CommandFor7zipA(const params: PAnsiChar; var OutputBuffer, ErrorsBuffer: PAnsiChar): Integer; stdcall;
//	External '7zOverlay.dll' name 'CommandFor7zipA';

//UNICODE:
Function Set7zDllPathFileW(const FullPathToThe7zDLL: PWideChar): BOOL; stdcall;
//	External '7zOverlay.dll' name 'Set7zDllPathFileW';
Function CommandFor7zipW(const params: PWideChar; var OutputBuffer, ErrorsBuffer: PWideChar): Integer; stdcall;
//	External '7zOverlay.dll' name 'CommandFor7zipW';

C/C++

//ANSI:
BOOL (WINAPI *Set7zDllPathFileA) (const char * FullPathToThe7zDLL);
int (WINAPI *Func_CommandFor7zipA) (const char * params, char * &OutputBuffer, char * &ErrorsBuffer);

//UNICODE:
BOOL (WINAPI *Set7zDllPathFileW) (const wchar_t * FullPathToThe7zDLL);
int (WINAPI *Func_CommandFor7zipW) (const wchar_t * params, wchar_t * &OutputBuffer, wchar_t * &ErrorsBuffer);