Okay... found the solution for the problem of non closed archives. I was using __declspec(dllexport) however compiler then doesn't properly define __stdcall function. So one time function was called OK one time not. Now I'm using __stdcall and .def file and it's fine.
Version 0.2 (2004.12.30) full read-only support for 7zip archives added BCJ2 & BCJ_X86 packing methods compatible archives 7zip UI version <= 4.13
Please let me know if you find any unstability
P.S. When accessing huge archives for just one or few file to extract / view you might need wait till all archive stream is passed, can take a while. This is due the 7zip construction.
Last edited by ono on 2005-01-05, 18:26 UTC, edited 2 times in total.
Ah, nice to hear that! I'm sorry that I didn't have the time yet to check your code. Probably I wouldn't have found the declspec problem, though, I'm not such a big C expert...
Note: Plugin license is freeware & redistribute it as it is. I may consider releasing it later on as GPL when it's fully featured and stable.
I asked because 7-ZIP is under LGPL license but I don't know which license implications apply to programs using the 7-ZIP source code.
Since it's LGPL it is has good & bad points. Good point is that I can link with the 7zip sources but I don't have to serve my sourcecode... just the link to the 7zip sources. Bad point is I have to somehow provide users access to any bugfixes of 7zip libs available on the fly. Which with static linking is bit hard.
So... for the moment I do some dev over the plugin I will provide just builds with fresh 7zip code.
Lateron I will put it into GPL and publish it worldwide.
Since it's LGPL it is has good & bad points. Good point is that I can link with the 7zip sources but I don't have to serve my sourcecode... just the link to the 7zip sources. Bad point is I have to somehow provide users access to any bugfixes of 7zip libs available on the fly. Which with static linking is bit hard.
So... for the moment I do some dev over the plugin I will provide just builds with fresh 7zip code.
Lateron I will put it into GPL and publish it worldwide.