It's time to update TC7Z.DLL and TC7Z64.DLL ||And Win9x fix?

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

After all.... The only way to have up-to-date 7Zip DLLs without losing Win9X compatibility is "TC7Z9x.dll" for older vesion (9.20 works fine there), just the same as "UnRAR9x.dll".
damieri
Junior Member
Junior Member
Posts: 31
Joined: 2003-07-10, 04:40 UTC

Perfect!

Post by *damieri »

MaxX wrote:TC7Z9x.dll ... same as UnRAR9x.dll
Sounds like the ideal solution to me :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm considering to go back to the old 7zip dlls because the new are faulty also in other ways. for example, download this 7zip archive:
https://notepad-plus-plus.org/repository/7.x/7.1/npp.7.1.bin.7z

1. Unpack to empty directory
2. Run notepad++.exe
3. Try to unpack again -> TC hangs when trying to overwrite SciLexer.dll (but not when trying to overwrite notepad++.exe)!
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6489
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:I'm considering to go back to the old 7zip dlls because the new are faulty also in other ways. for example, download this 7zip archive:
https://notepad-plus-plus.org/repository/7.x/7.1/npp.7.1.bin.7z

1. Unpack to empty directory
2. Run notepad++.exe
3. Try to unpack again -> TC hangs when trying to overwrite SciLexer.dll (but not when trying to overwrite notepad++.exe)!
Not confirmed under TC 9.0 RC2 x64 in Windows 10
I have no problems to unpack all files again.
May be the DLL was not unloaded in your case ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, it happens only while notepad++.exe is actually running! Trying to overwrite notepad++.exe will result in an error message, but trying to overwrite SciLexer.dll will make both TC 32-bit and TC 64-bit hang forever.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

ghisler(Author) wrote:3. Try to unpack again -> TC hangs when trying to overwrite SciLexer.dll (but not when trying to overwrite notepad++.exe)!
Does standalone 7Zip hang in this case?
May be, file is blocked by some AV-services (or is in use by something)?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6489
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

MaxX wrote:
ghisler(Author) wrote:3. Try to unpack again -> TC hangs when trying to overwrite SciLexer.dll (but not when trying to overwrite notepad++.exe)!
Does standalone 7Zip hang in this case?
May be, file is blocked by some AV-services (or is in use by something)?
Total7zip plugin has no problems with this scenario.
It just complains about a few open files and you can go on.
Also the 7-zip file manager has no problems it just lists the files with access problems and extracts the rest.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found out what the problem is: the dll sometimes calls back to TC from a backgroud thread. Since Delphi forms are not thread safe, I use SendMessage to activate the main thread - but it is blocked waiting for the 7zip operation to finish. Moving the 7zip operation itself to a background thread fixed this.

Furthermore, I have now compiled the 7zip dll 16.4.0.0 myself with Visual C++ 6.0, so it works on Windows 9x/ME too now.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

ghisler(Author) wrote:Furthermore, I have now compiled the 7zip dll 16.4.0.0 myself with Visual C++ 6.0, so it works on Windows 9x/ME too now.
Great! That's the best news for today!
damieri
Junior Member
Junior Member
Posts: 31
Joined: 2003-07-10, 04:40 UTC

LZMA SDK 16.04

Post by *damieri »

ghisler(Author) wrote:Furthermore, I have now compiled the 7zip dll 16.4.0.0 myself with Visual C++ 6.0, so it works on Windows 9x/ME too now.
Excellent work!

Code: Select all

Total Commander 8.52a (2015-09-17)
TCMDLZMA.DLL     70,144    LZMA library 4.63
TCLZMA64.DLL    103,424    LZMA library 9.20

Total Commander 9.0RC4 (2016-11-02)
TCMDLZMA.DLL     81,408    LZMA library 9.20
TCLZMA64.DLL    103,424    LZMA library 9.20

LZMA SDK
lzma463.tar.bz2    288,057    2008-12-31    4.63     \C\LzmaLib\makefile
lzma920.tar.bz2    534,077    2010-11-18    9.20     \C\Util\LzmaLib\makefile
lzma1604.7z        971,074    2016-10-04    16.04    \C\Util\LzmaLib\makefile
Perhaps also compile similarly the LZMA library 32+64 DLLs to the latest 16.04 ?
Desmo
Junior Member
Junior Member
Posts: 11
Joined: 2010-11-03, 22:10 UTC

Post by *Desmo »

i got some problems with 7zip 16.04:
with TC 32 bit you don't get the following information in the zipfile if you click in the file:
name, date, attribute

next problem:
If you use Alt-F9 to unzip the container you get an empty folder.
unzip via context-menue does work.

with TC 64 bit everything works.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I do not have these problems, 7zip files show the details just fine and unpack without problems. Maybe it's someincompatible format? Where can I find a 7zip file with this problem?
Author of Total Commander
https://www.ghisler.com
Post Reply