KZipper V0.9 ------------ (c) Copyright 1996 Kevin Ash e-mail[ valid until June '97 ]: k.a.ash@newcastle.ac.uk snail mail: see end of document For updates and other software I've coded check out[ valid until June '97 ]. http://www.ncl.ac.uk//~n4050728/os2/ Description: A pm utility for making zipfile management easier. Files: ------ KZipper.exe - main executable KZipper.txt install.cmd res_dll/FILE.ICO \ res_dll/FILE_X.ICO | res_dll/FOLDER.ICO | These files are only needed if you want to res_dll/FOLDER2.ICO | customize the menu's text or modify the icons res_dll/KZIP.ICO | used to represent the files/folder, etc res_dll/KZipDll.c | Please read KZipdll.txt before creating a res_dll/KZipDll.def | custom resource dll. res_dll/KZipDll.obj | res_dll/KZipDll.rc | res_dll/KZipDll.txt | res_dll/KZipper.ids | res_dll/KZipper.rc | res_dll/resource.cmd | res_dll/volume.ICO | res_dll/ZIPFILE.ICO / res_dll/KZipPK.dll - ready made resource dll - for pkunzip compat( see below) Installation: ------------- Running the install.cmd script in most cases is sufficient, however you may wish to copy KZipper.exe to somewhere on your path so it can be run from command prompts easily. The install script creates a KZipper object on the desktop. By default this program use Info-zip unzip.exe to extract files. If you want to use pkunzip.exe you'll also have to rename KZipPK.dll to KZipper.dll and put this file somewhere in your LIBPATH( in most case's the same directory as the executable will do ). Usage: ------ either:- 1) Double click the KZipper icon to start the program 2) From a zipfile object choose the open menu and select KZipper ( This in alot of case is the same as doble clicking the zipfile object ). In both cases if the file is an invalid archive a File Dialog will be presented to allow you to choose another file. You can then drag 'n' drop files in and out of the archive( just like you would with normal WPS objects). Notes: 1) WARNING: dragging a file into an archive currently always updates the file (even if the file in the archive is neser ). 2) If you drag a file out of an archive and a file with that name already exists, the file will be renamed( automatically) however the name in the WPS folder remains the same( I thought this was because it was using the .LONGNAME ea so I added the code to rename the .LONGNAME ea and this didn't solve the problem, if you know how to solve this, please let me know how ). 3) The font & colours may be changed by drag 'n' drop( The scheme pallete is not fully implemented) 4) The zip code is built into the program and I use the deflation method( and thanks must go to Jean-loup Gailly and Mark Adler for this as I used there excelent zlib general compression library( version 1.0.1), thanks also to Kai Uwe Rommel - for EA code( from Info-Zip's zip source files). I got the general format of the zipfile from APPNOTE.TXT( found in PKZ204G.ZIP). 5) I use unzip to extract the files( I was going to build it into the code until I looked at the source files and realised how much work there would be). In the next version of this I may use the unzip.dll( so i can have more control over the extraction). 6) Sorry, this program can't extract files that are encrypted. 7) As I have no books on Drag 'n' Drop I'm not 100% sure this code is correct ( in particular the rendering mechanism's ) 8) If you have a lot of files to compress/extract I would still recommend using unzip/zip as this will be far quicker( in general). 9) I write all settings into KZipPER.INI( mainly as it annoys me how programs write load of stuff into the OS2.INI file even if I just run them the once). TODO ---- 1) rename/replace when adding/extracting files from an archive. 2) renaming of archive entries 3) allowing dragging between different windows of the same archive 4) at the moment when the archive is changed all containers are emptied and refilled when really I only need to change the records that have changed. 5) Full wps integration - but as i don't have a som compiler this isn't likely to happen ( unless I win the lottery ) Getting in Touch ---------------- If you use this program and like it, let me know by sending an e-mail message to the address at the top of the document or better still send a postcard to:- 41 Abbot Court, Gateshead, Tyne & Wear, NE8 3JY, ENGLAND. If you don't like this program, discover any bugs or have any suggestions, please let me know why or what they are by e-mailing a message to the address at the top of the document. Legal Stuff ----------- KZipper is Copyright 1996 by Kevin Ash. KZipper is distributed in the hope that it will be useful, but with ABSOLUTELY NO WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.