SourceForge has been redesigned. Learn more.
Close

User Activity

  • Posted a comment on discussion Open Discussion on 7-Zip

    Finally figured it out. The problem was actually in Delphi, apprently it was delaying the free's a lot. When I run the application outside of Delphi, Close works just fine.

  • Posted a comment on discussion Open Discussion on 7-Zip

    Oh yeah, regarding your threads question - I don't create any new threads. Unless 7z.dll is creating some, the application should be single-threaded.

  • Posted a comment on discussion Open Discussion on 7-Zip

    Well, this is very interesting. The minimal code seems to behave significantly differently on different machines. a) The development virtual machine with Windows 10 - slow open, very slow close, but works. b) A test virtual machine with Windows 10 - quite fast open, immediate close, works. c) A test virtual machine with Windows 7 - slow open, immediate close, works. d) My physical machine with Windows 7 - does not work, fails with a pointer error caused somewhere inside 7z.dll after calling Read...

  • Posted a comment on discussion Open Discussion on 7-Zip

    1) You are right. I forgot to use administrator rights (stupid me, I need them when debugging my application, should have realized 7zfm would need them too). However, it would not have helped me - I need administrator rights and an exclusive access, and that's hard to get for the system volume where I am testing :-). 2) Compiler - Delphi XE2 API and wrapper - https://github.com/zedalaye/d7zip, with my own IInStream implementation which basically only calls ReadFile for Read and either SetFilePointer...

  • Posted a comment on discussion Open Discussion on 7-Zip

    Well, I had to solve numerous problems (mostly related to disk space, because 7zfm does not support working with raw volumes, it only supports image files - based on my experience with using the IInArchive, I expect it's because Windows will fail the SetFilePointer if used with FILE_END and offset 0), but I got it done. The CPU is Core i2500 and OS is Windows 10 (emulated). The application is 32 bit for now. 7zfm 32bit - opening image - 8 s the first time, less than a second the second time 7zfm...

  • Posted a comment on discussion Open Discussion on 7-Zip

    Hello Igor, thanks for the answer. I expect I am using a release version of 7z.dll - I simply took the one from the binary archive on 7-zip website. I did try "open archive" and "close it" without file reading. The times of open/close were almost exactly the same as those observed during a "full" run. A simple sequence of IInArchive.Open(); IInArchive.Close; was sufficient to create a 100 second wait during Close. All memory allocations in this scenario are those done by 7z.dll - I tested that. I...

  • Posted a comment on discussion Open Discussion on 7-Zip

    That should have been backslash backslash dot backslash c colon. I don't know whether I mistyped or SourceForge ate one of the backslashes.

  • Posted a comment on discussion Open Discussion on 7-Zip

    Hi! This is not a critical issue, but I can't help but wonder: Why is IInArchive.Close so slow when used on a NTFS "archive" created from a raw volume? I am testing 7-zip NTFS support on "\.\c:" with some 250.000 files, and while loading the volume is fairly slow, I can understand why - the whole MFT must be read and parsed. Then I extract all of the archive's filenames and sort them, which is understandably slow, too. Reading a file's data is then immediate. But when I try to close the archive and...

View All

Personal Data

Username:
pepak-net
Joined:
2010-08-11 05:38:43

Projects

  • No projects to display.

Skills

  • No skills entered.

Personal Tools