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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Create a WinZip file and is there a way to prevent winzip from reading it

Create a WinZip file and is there a way to prevent winzip from reading it

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 4 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.
  • S Offline
    S Offline
    SPGV
    wrote on last edited by
    #1

    I create a zip file and do not want winzip to open it. that is say I have a.zip now I only want my app to be able to open this file and not winzip. Once my app takes control then winzip can be used internally to extract the file contents. Any idea?

    J J 2 Replies Last reply
    0
    • S SPGV

      I create a zip file and do not want winzip to open it. that is say I have a.zip now I only want my app to be able to open this file and not winzip. Once my app takes control then winzip can be used internally to extract the file contents. Any idea?

      J Offline
      J Offline
      Johnny
      wrote on last edited by
      #2

      Add your own header onto the start, confusing winzip. Then when your app opens it, strip the header off, and get winzip to unzip the original zip. Messy and ineffecient yes, but easy.

      A 1 Reply Last reply
      0
      • J Johnny

        Add your own header onto the start, confusing winzip. Then when your app opens it, strip the header off, and get winzip to unzip the original zip. Messy and ineffecient yes, but easy.

        A Offline
        A Offline
        Abin
        wrote on last edited by
        #3

        How do you "get winzip unzip the original zip"? Does winzip support command line parameters or is there anyway to make winzip work for my own application? Thanks.

        J 1 Reply Last reply
        0
        • S SPGV

          I create a zip file and do not want winzip to open it. that is say I have a.zip now I only want my app to be able to open this file and not winzip. Once my app takes control then winzip can be used internally to extract the file contents. Any idea?

          J Offline
          J Offline
          Jonathan Craig
          wrote on last edited by
          #4

          If you want custom stuff you can use the PKWARE Data Compression Library. I have use them before to compress very large amounts of data. They allow you to create your own file formats and use PKZIP quality compression. http://www.pkware.com/products/developers/dcl/ Jonathan Craig www.mcw-tech.com

          1 Reply Last reply
          0
          • A Abin

            How do you "get winzip unzip the original zip"? Does winzip support command line parameters or is there anyway to make winzip work for my own application? Thanks.

            J Offline
            J Offline
            Jonathan Craig
            wrote on last edited by
            #5

            Winzip does support command line parameters, it is a add-on. You can download it from their web site. Jonathan Craig www.mcw-tech.com

            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