Jump to content

7-zip32.dll


jak
 Share

Recommended Posts

I update the code of 0.4.5 version because There was a small problem during the compression of a single file.

The function returned an error but still create the archive. It was just a double quote too on the variable $CMD.

Thanks to jbnh to point me that 'bug'.

Best Regards.Thierry

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...
  • 10 months later...

is there anyway to use 7-zip32.dll to compress/decompress a binary/string than files?

such as :

$orig = "aaaaaaaaaaaaaaaa" ; or $orig = StringToBinary("aaaaaaaaaaaaaaaa")

$compressed = _7zip_compress($orig)

$decompressed = _7zip_decompress(compressed)

Link to comment
Share on other sites

  • 1 year later...
  • 5 months later...
  • 6 months later...

Hello,

I have a problem using this UDF. I don't know if i'm missing anything but I am unable to zip a certain type of files. For instance I have a folder with filenames of the type "savegame@profile0#aggrichqqiwq". They don't have extentions, are very long and have @ and #. Is there any know issues with long filenames and invalid symbols it suports? I can't think of any other reason it would return a success message but then not have anything inside the 7z file it created. It's working perfectly with other folders.

[edit]

Upon further testing it seems that it doesn't support files that don't have extensions. So file 1.bmp is added and file 1 isn't added. :(

Edited by AtomR
Link to comment
Share on other sites

I use 7zip to create a .7z file with the contents of the folder and it works well. Using this udf I can even extract these files from the .7z. I just can't repack them :/ The UDF creates an empty .7z file.

Edited by AtomR
Link to comment
Share on other sites

That UDF points to an oriental website :S

Moreover I'm already using one UDF to extract and another UDF to compress.... and writing this i just realized that that does explain why I can extract the files but not compress them XD Unfortunatelly I couldn't get the same UDF to do both. The UDF I'm using to compress is the one on this thread. The one i'm using to extract is one I found in a deutch autoit forum. I'm going to keep looking. Thanks for your help.

Link to comment
Share on other sites

  • Moderators

AtomR,

The OP has long left the forum and it seems his site has been taken over. A pity as he wrote some good stuff. :(

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...