Activity for Anton-V-K

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Thanks for the reply! CRC_GET_DIGEST does the trick! :) I was calculating CRC32 this way: UInt32 crc = CRC_INIT_VAL; Byte buffer[1024]; for (;;) { const size_t read = fread_s(buffer, sizeof(buffer), 1, sizeof(buffer), file); crc = CrcUpdate(crc, buffer, read); if (read < sizeof(buffer)) break; } fclose(file); And the calculated CRC32 matches the one from 7z-archive only when the former is 'normalized' with CRC_GET_DIGEST. Everything works now as expected :)

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Thanks for the hint. I've managed to get checksums from the archive in HRESULT OpenResult(const CCodecs* codecs, const CArchiveLink& arcLink, const wchar_t* name, HRESULT result). Are they calculated as CRC32 or is this another sort of checksum? I tried to use CrcUpdate to calculate CRC32 for the extracted files, and the results do not match.

  • Anton-V-K Anton-V-K modified a comment on discussion Help

    Is it possible somehow with LZMA SDK to get checksums of files in a 7z-archive while/after/before extracting them? I'm using Extract for processing 7z-archives, and I would like to double check the extracted files by comparing their checksums (on disk) against the checksum in the archive. There is IHashCalc which can be passed into Extract function, and when CHashBundle is invoked through this interface it can calculate CRC32 hashes. I guese, these hashes are for extracted files while they are being...

  • Anton-V-K Anton-V-K modified a comment on discussion Help

    Is it possible somehow with LZMA SDK to get checksums of files in a 7z-archive while/after/before extracting them? I'm using Extract for processing 7z-archives, and I would like to double check the extracted files by comparing their checksums (on disk) against the checksum in the archive. There is IHashCalc which can be passed into Extract function, and when CHashBundle is invoked through this interface it can calculate CRC32 hashes. I guese, these hashes are for extracted files which are saved to...

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Is it possible somehow with LZMA SDK to get checksums of files in a 7z-archive while/after/before extracting them? I'm using Extract for processing 7z-archives, and I would like to double check the extracted files by comparing their checksums (on disk) against the checksum in the archive. There is IHashCalc which can be passed into Extract function, and when CHashBundle is invoked this way it can calculate CRC32 hashes. I guese, these hashes are for extracted files which are saved to disk. It can...

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Kevin, take a look at https://www.7-zip.org/download.html : there are Windows and Linux versions there + older MacOS version. Full features (GUI + console) are available for Windows only, and for Linix/MacOS there is only a console version.

  • Anton-V-K Anton-V-K modified a comment on discussion Open Discussion

    Just a hint: the sample CPP\7zip\Bundles\SFXSetup seems to be handling similar/same task with CExtractCallbackImp::GetStream.

  • Anton-V-K Anton-V-K posted a comment on discussion Open Discussion

    Just a hint: the sample CPP\7zip\Bundles\SFXSetup seems to handling similar/same task with CExtractCallbackImp::GetStream.

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Does LZMA SDK has API for extracting 7z-archive from memory? Are there any examples to demonstrate such functionality? I've quickly examined \CPP\7zip\Bundles, but couldn't find relevant samples. Typical usage scenario: downloading an archive from Internet, while keeping it in memory, and extracting it to disk (or preferably to memory as well) when the download is complete. According to the hints in the related discussion Extract to memory , the interface IArchiveExtractCallback may partially help...

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Igor, thanks a lot for the reply. It helped me a lot! I've managed to restructure the sources, so the 7z console app can now be built in a working state. I've attached the project for references. Extra note: it is hardly possible to put all LZMA SDK sources in a static library, since the plugins registrations are usually optimized by the linker, so they are stripped from the resulting executable. And you have to either build the library as dynamic, or compile some sources as a part of your appli...

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    If the problem is always reproducible on your PC, please, provide a scenario with more details. And which OS and 7-Zip version do you use?

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    See also https://sourceforge.net/p/sevenzip/discussion/45798/thread/9c16db3ab1/

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    Here is the archive with projects and sources I use for building the static library and the application.

  • Anton-V-K Anton-V-K modified a comment on discussion Help

    I've managed to build the reduced version of 7-Zip console application from LZMA SDK 22.01 with VS2022 (the project files were created from scratch with only required sources). The Extract function (in \CPP\7zip\UI\Console\Main.cpp) ends with S_OK, however the content of simple .7z-archive isn't extracted, and it is counted as not-processed in the statistics: ...\7ZipReduced\Debug.Win32>7ZipReduced.exe x 7zip-Normal.7z 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 Scanning...

  • Anton-V-K Anton-V-K posted a comment on discussion Help

    I've managed to build the reduced version of 7-Zip console application from LZMA SDK 22.01 with VS2022 (the project files were created from scratch with only required sources). The Extract function ends with S_OK, however the content of simple .7z-archive isn't extracted, and it is counted as not-processed in the statistics: ...\7ZipReduced\Debug.Win32>7ZipReduced.exe x 7zip-Normal.7z 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 Scanning the drive for archives: 1 file,...

  • Anton-V-K Anton-V-K posted a comment on discussion Open Discussion

    Other popular switches aren't supported as well - see https://sourceforge.net/p/sevenzip/feature-requests/1221/ and https://sourceforge.net/p/sevenzip/feature-requests/1443/

  • Anton-V-K Anton-V-K posted a comment on ticket #1443

    See also https://sourceforge.net/p/sevenzip/feature-requests/1221/ , which was requested 5 years ago.

  • Anton-V-K Anton-V-K posted a comment on ticket #156

    Yes, you're right. I've missed the point. The issue should be re-addressed to the NuGet package creator. It is built from https://github.com/MikeAirey/log4cpp , so I'll submit the issue there. This issue can now be closed.

  • Anton-V-K Anton-V-K posted a comment on ticket #156

    Though it is possible to copy \log4cpp.1.1.3\lib\native\v141 into \log4cpp.1.1.3\lib\native\v142 (or better create a link to save some space), the main problem is missing support of x64 configuration.

  • Anton-V-K Anton-V-K created ticket #156

    NuGet package for VS2019 with vc142 toolset

  • Anton-V-K Anton-V-K created ticket #1443

    Support of -stl in GUI

  • Anton-V-K Anton-V-K modified a comment on discussion Open Discussion

    When connecting to an Access DB (.mdf) the application shows following message: '--------------------------- ODBC Driver info '--------------------------- Cannot guarantee to find object '' for one of the following reasons: - The usage of SQL_ATTR_METADATA_ID is not supported on the statement level - The usage of SQL_ATTR_METADATA_ID is not supported on the connection level - SQLInfo of catalog identifiers is not simply SQL_IC_UPPER or SQL_IC_LOWER and the catalog is not treated in a case-insensitive...

  • Anton-V-K Anton-V-K modified a comment on discussion Open Discussion

    When connecting to an Access DB (.mdf) the application shows following message: '--------------------------- ODBC Driver info '--------------------------- Cannot guarantee to find object '' for one of the following reasons: - The usage of SQL_ATTR_METADATA_ID is not supported on the statement level - The usage of SQL_ATTR_METADATA_ID is not supported on the connection level - SQLInfo of catalog identifiers is not simply SQL_IC_UPPER or SQL_IC_LOWER and the catalog is not treated in a case-insensitive...

  • Anton-V-K Anton-V-K posted a comment on discussion Open Discussion

    When connecting to an Access DB (.mdf) the application shows following message: '--------------------------- ODBC Driver info '--------------------------- Cannot guarantee to find object '' for one of the following reasons: - The usage of SQL_ATTR_METADATA_ID is not supported on the statement level - The usage of SQL_ATTR_METADATA_ID is not supported on the connection level - SQLInfo of catalog identifiers is not simply SQL_IC_UPPER or SQL_IC_LOWER and the catalog is not treated in a case-insensitive...

  • Anton-V-K Anton-V-K modified a comment on merge request #8

    Good changes! Are they already merged?

  • Anton-V-K Anton-V-K posted a comment on merge request #8

    Good changes! I wish they were already merged...

  • Anton-V-K Anton-V-K posted a comment on ticket #81

    The feature requested more than 4 years ago, and unfrortunately is still not implemented :( I wish there was at least read-only access to Git repositories through SVN protocol...

  • Anton-V-K Anton-V-K modified a comment on discussion General Discussion

    I've forked your code with all my changes comitted and available to everyone. Let me know if I can merge my changes.

  • Anton-V-K Anton-V-K created merge request #1

    Translations support

  • Anton-V-K Anton-V-K posted a comment on discussion General Discussion

    I've forked your code with all my changes comitted and available to everyone.

  • Anton-V-K Anton-V-K modified a comment on discussion General Discussion

    Hello. Thanks for sharing the code of the application. I'd like to contibute to your project. I've implemented support for translation into various languages (English, Russian and Ukrainian are available so far). How can I commit the changes?

  • Anton-V-K Anton-V-K posted a comment on discussion General Discussion

    Hello. Thanks for sharing the code of the application. I'd like to contibute to your project. I've implemented support for translation into various languages (English, Russian and Ukrainiand are available so far). How can I commit the changes?

  • Anton-V-K Anton-V-K created ticket #2050

    Cannot extract files with cyrillic letter from ZIP-archives created with old version of PKZIP

  • Anton-V-K Anton-V-K created ticket #188

    Support of reading position across multiple devices

1