Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Zip/Archive

Zip/Archive

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsonhelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jai Praful Ved
    wrote on last edited by
    #1

    Hi there !! I would like to seek some help to understand if there are direct Windows API (C++) to create a zip file from multiple files. I have a set of files which i want to package into one zip file programmatically. Please let me know what is the best possible way to to get this done. Thanks and Regards, Jai Praful Ved

    K H 2 Replies Last reply
    0
    • J Jai Praful Ved

      Hi there !! I would like to seek some help to understand if there are direct Windows API (C++) to create a zip file from multiple files. I have a set of files which i want to package into one zip file programmatically. Please let me know what is the best possible way to to get this done. Thanks and Regards, Jai Praful Ved

      K Offline
      K Offline
      karle
      wrote on last edited by
      #2

      As far as I know there is no windows API support for handling ZIP files. Windows just supports cab files. I you want to process zip files from c++ you should zlib which is free. Just google for "zlib" or see

      J 1 Reply Last reply
      0
      • J Jai Praful Ved

        Hi there !! I would like to seek some help to understand if there are direct Windows API (C++) to create a zip file from multiple files. I have a set of files which i want to package into one zip file programmatically. Please let me know what is the best possible way to to get this done. Thanks and Regards, Jai Praful Ved

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See LiteZip and LiteUnzip[^] Zip and Unzip in the MFC way [^] XZip and XUnzip - Add zip and/or unzip to your app with no extra .lib or .dll[^]


        WhiteSky


        1 Reply Last reply
        0
        • K karle

          As far as I know there is no windows API support for handling ZIP files. Windows just supports cab files. I you want to process zip files from c++ you should zlib which is free. Just google for "zlib" or see

          J Offline
          J Offline
          Jai Praful Ved
          wrote on last edited by
          #4

          Will I be able to use zlib library to make a package out of a number of files into one zip file ? Let me give you some details. I have a set of files and folders with data. I want to programmatically package these files and folders into a single zip file. The zlib works for buffers and I have a set of files and folders to work with...... Please guide me !! Regards, Jai Praful Ved

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups