Good afternoon, I like how 7zip works in the context menu. I found in the registry that it uses a handler 7-zip.dll . My question is, where in the Explorer code is the punt and how do they work? I would like to understand how he understands a folder or a file. And also how it changes the parameters that need to be used.
While studying CLient7z, I saw this line of code in Extract: Z7_COM7F_IMF(CArchiveExtractCallback::CryptoGetTextPassword(BSTR *password)) { if (!PasswordIsDefined) { // You can ask real password here from user // Password = GetPassword(OutStream); // PasswordIsDefined = true; PrintError("Password is not defined"); return E_ABORT; } return StringToBstr(Password, password); } Trying to use it separately, I didn't succeed. I wanted to write a function before unpacking that would check the passwords...
Good afternoon, how else can I insert a long path? Is it only through the makefile or is there another way in the code?
I am using the MSVC2019 compiler. -D found it in another place.
I have unicode installed. I use qt and cmake to run. And I can't figure out where to write this parameter -DZ7_LONG_PATH
Okay, where do I turn it on?
Tell me, I'm faced with the fact that I get an error in this place. I guess it's because of the number of characters, but I'm not sure. It is in the archive itself that folders and files with a long name are located. That's what I think is wrong, but I'm not sure. Here is the archive folder inside: C:\Users\ssssssssss.s\Desktop\test\hkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkj....
how to do it?