[TC 11.0] 7zxa.dll 23.0 not compatible with TC

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

jiangzhenjerry
Junior Member
Junior Member
Posts: 58
Joined: 2016-01-15, 23:57 UTC

[TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *jiangzhenjerry »

Disclaimer: This post is intended to be more of a heads-up than a bug report. Technically I'm "hacking" TC's files so it's not a bug by definition.

Due to different update cadences of TC and 3rd-party libraries like 7-Zip/RAR/etc., there are times when the official library releases are newer than what's bundled with the TC installer. In such cases, I would replace "tc7z64.dll" with the latest "7zxa.dll" from 7-Zip's website, replace "unrar64.dll" with the latest one from RARLabs, etc. So far in the past few years as I can remember, it has worked well.

Things changed in 7-Zip 23.0. After I replace TC's bundled tc7z64.dll (which is currently on version 22.1.0), whenever I click into a .7z file, TC errors out. The error message can be seen in this screenshot.

Again, this is just a heads-up. For now, I'm sticking with 7-Zip-zstd's recompiled and enhanced DLL of 22.1.0 (rebranded as 22.1.5), and patiently waiting for either TC or 7-Zip-zstd to bump up to 23.0.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *MaxX »

jiangzhenjerry wrote: 2023-05-14, 23:00 UTCI would replace "tc7z64.dll" with the latest "7zxa.dll" from 7-Zip's website
I don't think it is correct to do such a replacement.
The 7zip DLLs are diffrent with TC's. Just compare by size the existing 22.01 version of TC7Z64.DLL and 7zxa.dll from 7z2201-extra.7z package. Wou'll see, they are not identical.
AFAIK, only unRAR DLLs are being used untouched.
Ukrainian Total Commander Translator. Feedback and discuss.
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *TW »

but the 7zxa.dll and tc7z64.dll from Tino Reichardt (https://mcmilk.de/projects/7-Zip-zstd/) are identical.
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *ghisler(Author) »

I have taken the 7z.dll from the beta 23 here:
https://www.7-zip.org/download.html
This one seems to work fine with Total Commander.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *ghisler(Author) »

Where can I find "7zxa.dll" with ZSTD version 23.0? I have checked their github, but it only goes up to 22.01, and that works with TC:
https://github.com/mcmilk/7-Zip-zstd/releases
Author of Total Commander
https://www.ghisler.com
User avatar
rus73
Junior Member
Junior Member
Posts: 29
Joined: 2013-05-30, 08:39 UTC
Location: Russia

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *rus73 »

7zxa.dll v23.0 is currently in beta, so it's not in the release. Beta 23 7-Zip Extra is here.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *ghisler(Author) »

Thanks, I found it and it indeed crashes: It calls my callback function 7zStream.Read() with an invalid pointer (0x20 instead of a pointer). No idea what's wrong there.
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *TW »

ghisler(Author) wrote: 2023-05-24, 10:10 UTC Where can I find "7zxa.dll" with ZSTD version 23.0? I have checked their github, but it only goes up to 22.01, and that works with TC:
https://github.com/mcmilk/7-Zip-zstd/releases
sorry for the confusion. i just wanted to point out, that there is no difference between "other" 7zxa.dll and the one shipped with TC, unlike MaxX guessed.

mr. reichardt is always a bit behind with his enhanced 7-zip.
licenced and happy TC user since 1994 (#11xx)
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *AntonyD »

maybe it will be more useful to stick with ZSTD version of 7z, From Tino Reichardt?
It may be slightly behind the version of the main program, but its improved functionality is much more interesting and more useful to use.
IMHO.
#146217 personal license
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *MaxX »

2AntonyD
Leave that unstable buggy 7z-zstd-forks for geeks. You can find zstd support in new versions via TCZSTD32.DLL and TCZSTD64.DLL.
TC should use only official version of 7z DLLs from original author.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *AntonyD »

Leave that unstable buggy 7z-zstd-forks
unstable & buggy? Hmm, maybe in some special scenarios - probably yes. But it the same case like I can make _another_ special scenario and for 7z 'original'))) so it become unstable & buggy too...
So imho 1:1. And I personally never face any problems with that "unstable" release;)
zstd support in new versions via TCZSTD32.DLL and TCZSTD64.DLL
hmmm - and HOW exactly I can PACK files with zstd algo? In which dialog and which option I can choose for that?
#146217 personal license
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *MaxX »

2AntonyD
Your question is wrong, because you should also know that TC can't pack 7z files itself via TC7Z*.DLL, too. You must use a plugin for that purpose.

But there're two ways for zstd:
1. You should use Total7zip.wcx + 7z.dll, 7z*.exe (original) + Modern7z*.dll.
2. You should use MultiArc.wcx + zstd.exe (original) directlly.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *ghisler(Author) »

7zxa.dll 23.0 is a pre release version, so there is hope that they will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *AntonyD »

3 way ))) I use a complete preinstalled 7-zstd program))
So from context menu I can choose the call of the dialog of compression by 7-zstd
And if we will talk about UNpacking - again - the archive which I could pack with 7z std - I could not UNpack with pure TC on another comp.
So yes - you're right - only TC support of 3rd party plugins could save my nerves, and portable installation)))

But again - let's leave all intact. So - all who used to use some things - let them continue to use such things;)
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.0] 7zxa.dll 23.0 not compatible with TC

Post by *AntonyD »

ghisler(Author) wrote: 2023-05-24, 21:04 UTC 7zxa.dll 23.0 is a pre release version, so there is hope that they will fix it.
but someone definitely should report this to them ;)
#146217 personal license
Post Reply