mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Use mbLoadLibraryEx function
(cherry picked from commit 4b65262579)
This commit is contained in:
parent
3e2f2f76d4
commit
9fbea677f6
1 changed files with 2 additions and 2 deletions
|
|
@ -162,11 +162,11 @@ var
|
|||
|
||||
procedure Initialize;
|
||||
begin
|
||||
libturbo:= SafeLoadLibrary(turbolib);
|
||||
libturbo:= mbLoadLibraryEx(turbolib);
|
||||
|
||||
if (libturbo <> NilHandle) then
|
||||
try
|
||||
@tjInitDecompress:= GetProcAddress(libturbo, 'tjInitDecompress');
|
||||
@tjInitDecompress:= SafeGetProcAddress(libturbo, 'tjInitDecompress');
|
||||
@tjDestroy:= SafeGetProcAddress(libturbo, 'tjDestroy');
|
||||
@tjGetErrorStr2:= SafeGetProcAddress(libturbo, 'tjGetErrorStr2');
|
||||
@tjDecompressHeader3:= SafeGetProcAddress(libturbo, 'tjDecompressHeader3');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue