GithubHelp home page GithubHelp logo

geoffsmith82 / delphizip Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 10.0 2.02 MB

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

Pascal 75.96% C 22.77% PHP 0.30% C++ 0.15% Objective-C 0.82%
compression zip delphi-components

delphizip's People

Contributors

geoffsmith82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

delphizip's Issues

not support a zip file in a TStream

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.

ExtractStreamToStream: unsupported zip version

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

Tips for Delphinus

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.