geoffsmith82 / delphizip Goto Github PK
View Code? Open in Web Editor NEWTZipMaster is a non-visual VCL wrapper created by Chris Vleghert and Eric W. Engler for their freeware Zip and Unzip DLLs.
Home Page: http://www.delphizip.org
TZipMaster is a non-visual VCL wrapper created by Chris Vleghert and Eric W. Engler for their freeware Zip and Unzip DLLs.
Home Page: http://www.delphizip.org
i have a zip file
i store it in database
when i want to laod it .
i must save it as a file
i do not want save to file
i want load it to a stream.
Does anyone have a Package for Delphi 12?
var instream, outstream: TMemoryStream;
OutSize: Longword;
begin
instream:= TMemoryStream.Create;
instream.LoadFromFile('d:\1.zip');
instream.Position := 0;
outstream := ZipMaster1.ExtractStreamToStream(instream, OutSize);
instream.Free;
when calling ExtractStreamToStream - gives error: unsupported zip version
Hi,
Thanks for using Delphinus. I noticed some things and little errors ;)
"first_version": "1.9.2.022"
That one is required if your repository already has releases which were added before supporting Delphinus. SInce there are no releases, this one is not required(and you won't need it for this repo in the future)
"package_compiler_min": 22,
"package_compiler_max": 26,
"compiler_min": 23,
"compiler_max": 26,
This does not make sense for a package without any previous releases.
Compiler_Min/Max is required to specify the supported compilers for the current version(if this differs from previous versions!).
So lets say the current version supports XE2-Berlin and previous versions supported XE too, this one will only use XE2-Berlin
Package_Compiler_Min/Max specifies all supported compilers across all released versions.
For Example if the current version supports only XE2-Berlin, but a previous version supported XE too, this setting includes XE-Berlin.
Since you have no release yet, you can simply use compile_min/max or Package_Compiler_Min/Max. This gets important when supported delphi versions change. You can remove the package_* one
And in addition you specify 22-26 but the installationfile specifies up to 31, so you have to use i.e.
"compiler_min": 22,
"compiler_max": 31
Another thing to note for the Delphinus.Install.json(and only here):
If compiler_min/max have the same value, you can simply specify
"compiler": YourValue
Raw:
"raw_folders":
[
{
"folder": "DLL"
}
],
The filestructure in "DLL" is currently incorrect. Delphinus specifies a fixed folderstructure beneath the given folder. Depending on where you want those files, you have to add them to the given folders. For example if the DLLs should reside in the Components Bin directory, you'd create a structure like this:
DLL\bin\win32\MyLib.dll
DLL\bin\win64\MyLib64.dll
The user will have to move those files manually to his project when running.
Or you could put them into the BPL directory, which will make them discoverable(since BPL directories are in the PATH variable of windows). But be VERY carefull with this. Your DLLs have no version in their name, so putting them into a folder visible by PATH might clutter/fuckup the system.
DLL\bpl\win32\MyLib.dll
DLL\bpl\win64\MyLib64.dll
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.