No bit7z, please.
Moderators: Hacker, petermad, Stefan2, white
No bit7z, please.
Now betas use the bit7z lib as a "proxy" for normal 7zip dlls. That lib causes problems described in other topics.
Let's just use 7zip the same way as we use RAR's exe and dll:
UNpack -> use 7z.dll (just the same as unrar.dll)
Pack -> use 7z(g).exe (just the same as rar.exe)
That also should help to prevent any memory issues in packing progress. Extental process of the packer should be bore stable and even secure, I believe.
So I assume that there should be no need in additional bit7z library. Less files, same size. Easier updates of 7zip by the user. And for developer too.
Also that should help for legacy OS like win 9x...XP to get all supported by 7z.exe/7z.dll features without any problems of bit7z.
Let's just use 7zip the same way as we use RAR's exe and dll:
UNpack -> use 7z.dll (just the same as unrar.dll)
Pack -> use 7z(g).exe (just the same as rar.exe)
That also should help to prevent any memory issues in packing progress. Extental process of the packer should be bore stable and even secure, I believe.
So I assume that there should be no need in additional bit7z library. Less files, same size. Easier updates of 7zip by the user. And for developer too.
Also that should help for legacy OS like win 9x...XP to get all supported by 7z.exe/7z.dll features without any problems of bit7z.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: No bit7z, please.
Support ++
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: No bit7z, please.
Hmm, currently when using Internal 7-zip packing I get warnings before overwriting files in existing archives - that I do NOT get if I pack with 7zG.exe - so I guess that is why Ghisler doesn't always pack with 7zG.exe.
2MaxX
Doesn't disabling "Internal 7-Zip packer" solve your problems?
2MaxX
Doesn't disabling "Internal 7-Zip packer" solve your problems?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: No bit7z, please.
Rar is proprietary, and 7-zip provides free code. I don't see any benefit in this at all. I could make commands and scripts with 7zG without any problems before. Why would I need an intermediary dialogue here?
Do I understand correctly that the internal packer is not supported on XP?MaxX wrote: 2024-10-26, 13:57 UTC Also that should help for legacy OS like win 9x...XP to get all supported by 7z.exe/7z.dll features without any problems of bit7z.
Overquoting is evil! 👎
Re: No bit7z, please.
That would be a point, if the warning only comes for changed files.petermad wrote: 2024-10-26, 16:45 UTC Hmm, currently when using Internal 7-zip packing I get warnings before overwriting files in existing archives - that I do NOT get if I pack with 7zG.exe - so I guess that is why Ghisler doesn't always pack with 7zG.exe.
But it warns for every existing file, which makes updating an archive almost unusable.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: No bit7z, please.
You can just choose "Overwrite all" - same as for ZIP files.But it warns for every existing file,
But without "Internal 7-Zip packer" enabled I don't get any warning at all!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: No bit7z, please.
RAR acts the same way. No users made any problems here for years.petermad wrote: 2024-10-26, 17:25 UTC But without "Internal 7-Zip packer" enabled I don't get any warning at all!
Ukrainian Total Commander Translator. Feedback and discuss.
Re: No bit7z, please.
I get an overwrite warning from TC for archive types that are packed internally by TC = ZIP, TAR and GZ , and for plugins like 7zip, Total7Zip and Total SQXRAR acts the same way
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: No bit7z, please.
I will do this if you or anyone else can provide a developers guide on how to call the 7zip dll directly. I could not figure it out myself, especially the modification of existing archives is very complex.Now betas use the bit7z lib as a "proxy" for normal 7zip dlls.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: No bit7z, please.
May be you can find anything helpful in total7zip.wcx , it works with original 7zip somehow.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: No bit7z, please.
https://7-zip.org/faq.html
How can I add support for 7z archives to my application?
One way is to use the 7z.dll or 7za.dll (available from sf.net for download). The 7za.dll works via COM interfaces. It, however, doesn't use standard COM interfaces for creating objects. You can find a small example in "CPP\7zip\UI\Client7z" folder in the source code. A full example is 7-Zip itself, since 7-Zip works via this dll also. There are other applications that use 7za.dll such as WinRAR, PowerArchiver and others.
The other way is to call the command line version: 7za.exe.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: No bit7z, please.
Sorry, for now I will continue to use tcbit7z.dll. The only problem concerning newer operating systems (Vista and newer) was the very large dictionary size, which I was able to fix myself. Maybe I can add Windows XP support somehow, but it's not a high priority - XP users can still use total7zip or external 7zg.exe. The main idea of integrating 7-Zip was for
1. corporate users who can't install any plugins or third party software
2. beginners who have troubles installing plugins or third party software
Windows XP is out of service even for corporate users now, and no one begins with XP these days, so these two groups are not affected.
1. corporate users who can't install any plugins or third party software
2. beginners who have troubles installing plugins or third party software
Windows XP is out of service even for corporate users now, and no one begins with XP these days, so these two groups are not affected.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: No bit7z, please.
2ghisler(Author)
7-zip hasn't got the most obvious or well documented calls maybe this article can be of any help to you:
https://www.tc4shell.com/en/7zip/parameterapi/
Because the dev of TC4Shell - Denis Anisimov is the second person after Igor Pavlov himself (at least from my acquaintances) who understands how 7-zip really works.
7-zip hasn't got the most obvious or well documented calls maybe this article can be of any help to you:
https://www.tc4shell.com/en/7zip/parameterapi/
Because the dev of TC4Shell - Denis Anisimov is the second person after Igor Pavlov himself (at least from my acquaintances) who understands how 7-zip really works.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: No bit7z, please.
I have already managed to get 7zip compression to work in the 32-bit version on Windows XP, it's in beta 4. In the meantime, I also managed to make it work in the 64-bit version.
Older Windows versions are missing functions like EncodePointer and DecodePointer as described here:
https://ghisler.ch/board/viewtopic.php?p=241514#p241514
I tried to follow the steps in that post to create a dll without these functions, but unfortunately it crashes on load.
So for now it will support Windows XP and newer.
Older Windows versions are missing functions like EncodePointer and DecodePointer as described here:
https://ghisler.ch/board/viewtopic.php?p=241514#p241514
I tried to follow the steps in that post to create a dll without these functions, but unfortunately it crashes on load.
So for now it will support Windows XP and newer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com