If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
32 Bit Mode Required
Years ago I wrote a utility program for myself that merges and
combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. Any thoughts? TIA --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
Ads |
#2
|
|||
|
|||
32 Bit Mode Required
You might look at DosBox and somekind of batch file to see if you could make
something work. -- Bill Brought to you from Anchorage, Alaska "MikeCopeland" wrote in message ... Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. Any thoughts? TIA |
#3
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote:
Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. The problem is that Win64 does not include support for 16-bit apps (which includes DOS). 32-bit programs will run just fine. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. Any thoughts? TIA PKZip is still around: https://www.pkware.com/software/pkzip/windows/ ....as is WinZip, which I believe was more popular than PKZip on Windows: http://www.winzip.com/ ....but Info-ZIP is *free*: http://www.info-zip.org/ ....and even has a Win64 version: ftp://ftp.info-zip.org/pub/infozip/w...p300xn-x64.zip ftp://ftp.info-zip.org/pub/infozip/w...z552xn-x64.exe (Yes, you have to download Zip and UnZip separately. unz552xn-x64.exe is a self-extracting archive.) Alternately, if you care to rewrite your util, you can just use Info-ZIP's DLL: ftp://ftp.info-zip.org/pub/infozip/win32/unz600dn.zip ....but that's 32-bit, not 64-bit. -- Mr. Pill Bug has just been unwittingly impregnated by baby hellraiser worms. |
#4
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote in
: Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. 64-bit systems should run 32-bit utilities just fine as is. I suspect that the PKZip utilities are 16-bit, and so would not run on a 64-bit system. 7-Zip has 32-bit utilities that will run on 64-bit systems: http://www.7-zip.org/download.html |
#5
|
|||
|
|||
32 Bit Mode Required
|
#6
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote:
Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities tried the IZarc command line tools? |
#7
|
|||
|
|||
32 Bit Mode Required
On 02/11/2016 01:09 PM, Bill Bradshaw wrote:
You might look at DosBox and somekind of batch file to see if you could make something work. Correct. 64bit Win7 will run 32bit apps but not 16 bit I recently gave DosBox a try to see if I could run an ancient program I wrote in Qbasic and it worked fine. |
#8
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote on 2016/02/11:
Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. 'PKZip for DOS' (a 16-bit app) is not supported under x64 versions of Windows. The WOW (Windows On Windows) eulation layer only goes back one bitness level (https://en.wikipedia.org/wiki/Windows_on_Windows). Upgrade to 'PKZip for Windows Desktop'. That costs money ($29). There are free compression archive tools available that have a CLI (command line interface), like 7-Zip and Peazip. So your front-end or wrapper "program" would merely be a batch file listing the commands to use those free zip alternates. I don't know what is your "program". If it is just a script or batch file, you should be able to figure out how to convert the command-line calls to PKZip to instead use Peazip's or 7-zip's CLI. If it is a compiled 16-bit program then you will have to re-compile your code as a 32-bit executable - but you will still need to get 32-bit versions of PKzip (payware) or use freeware zip alternatives that have a CLI. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus Disable the option in Avast that has it add a fake signature ("---" is not a valid signature delimiter line) and spamifies your posts. No one is going to believe your posts are pest-free just because you say so. |
#10
|
|||
|
|||
32 Bit Mode Required
You didn't indicate what you want to do, or why
it's important to keep your software running. As others have said, you can't run 16-bit on 64-bit. You might want to consider writing a new, 32-bit version... Or switching to Win7-32. PKWare seems to sell software and license DLLs. If you want free DLLs I think the standard these days are what's available from info-zip.org. I used their zip32.dll some years ago. There's code for that around. |
#11
|
|||
|
|||
32 Bit Mode Required
"Nil" wrote in message . 4.11... MikeCopeland wrote in : Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. 64-bit systems should run 32-bit utilities just fine as is. I suspect that the PKZip utilities are 16-bit, and so would not run on a 64-bit system. 7-Zip has 32-bit utilities that will run on 64-bit systems: http://www.7-zip.org/download.html And 64-bit 7-Zip, too. If the OP can change his program to run a 32-bit version, he shouldn't have any trouble with a 64-bit target. Depending on his amount of RAM, I would think the 64-bit version would be a bit faster and smoother (although I'm sure that ain't necessarily so). -- SC Tom |
#12
|
|||
|
|||
32 Bit Mode Required
In article , says...
"Nil" wrote in message . 4.11... MikeCopeland wrote in : Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. 64-bit systems should run 32-bit utilities just fine as is. I suspect that the PKZip utilities are 16-bit, and so would not run on a 64-bit system. 7-Zip has 32-bit utilities that will run on 64-bit systems: http://www.7-zip.org/download.html And 64-bit 7-Zip, too. If the OP can change his program to run a 32-bit version, he shouldn't have any trouble with a 64-bit target. Depending on his amount of RAM, I would think the 64-bit version would be a bit faster and smoother (although I'm sure that ain't necessarily so). I'm unsure how this will help. My program (written in C++) uses the "system" function - which makes a "DOS call" to execute the command line that's specified. Thus, unless one of these 32 or 64 bit (Windows) tilities has a DOS command interface, I don't see how using a Windows app helps me at all. Note that part of my program searches for ZIP files and unpacks them serially and keeps the newest file(s) output so that the resulting expansions leave the latest stuff in the output directory. I need to have whatever I use have the same capability (and most Windows apps I know of require a user response to deal with collisions... --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
#13
|
|||
|
|||
32 Bit Mode Required
On Thu, 11 Feb 2016 22:08:10 -0700, MikeCopeland wrote:
In article , says... "Nil" wrote in message . 4.11... 7-Zip has 32-bit utilities that will run on 64-bit systems: http://www.7-zip.org/download.html And 64-bit 7-Zip, too. If the OP can change his program to run a 32-bit version, he shouldn't have any trouble with a 64-bit target. Depending on his amount of RAM, I would think the 64-bit version would be a bit faster and smoother (although I'm sure that ain't necessarily so). I'm unsure how this will help. My program (written in C++) uses the "system" function - which makes a "DOS call" to execute the command line that's specified. Thus, unless one of these 32 or 64 bit (Windows) tilities has a DOS command interface, I don't see how using a Windows app helps me at all. The 7-Zip installation includes a utility (7z.exe) with a "DOS" command interface. The 7-Zip help file includes help for the command line version. -- Kind regards Ralph |
#14
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote in
: http://www.7-zip.org/download.html I'm unsure how this will help. My program (written in C++) uses the "system" function - which makes a "DOS call" to execute the command line that's specified. Thus, unless one of these 32 or 64 bit (Windows) tilities has a DOS command interface, I don't see how using a Windows app helps me at all. Since you never described your program, I'm unsure how you expected us to know that. In any case, I assumed you wanted a command-line utility and specifically included a link to 7Zip's 32-bit one. Did you look at it? |
#15
|
|||
|
|||
32 Bit Mode Required
MikeCopeland wrote:
In article , says... "Nil" wrote in message . 4.11... MikeCopeland wrote in : Years ago I wrote a utility program for myself that merges and combines ZIP files. It uses DOS-based PKZip and PKUnZip utilities that work only on 32 bit systems; I currently have Windows 7 64 bit o/s, and my program no longer works. I am looking for V a 64 bit version of these compression utilities...or another way to run my program in 32 bit mode. 64-bit systems should run 32-bit utilities just fine as is. I suspect that the PKZip utilities are 16-bit, and so would not run on a 64-bit system. 7-Zip has 32-bit utilities that will run on 64-bit systems: http://www.7-zip.org/download.html And 64-bit 7-Zip, too. If the OP can change his program to run a 32-bit version, he shouldn't have any trouble with a 64-bit target. Depending on his amount of RAM, I would think the 64-bit version would be a bit faster and smoother (although I'm sure that ain't necessarily so). I'm unsure how this will help. My program (written in C++) uses the "system" function - which makes a "DOS call" to execute the command line that's specified. Thus, unless one of these 32 or 64 bit (Windows) tilities has a DOS command interface, I don't see how using a Windows app helps me at all. Note that part of my program searches for ZIP files and unpacks them serially and keeps the newest file(s) output so that the resulting expansions leave the latest stuff in the output directory. I need to have whatever I use have the same capability (and most Windows apps I know of require a user response to deal with collisions... Copied from 7zip.chm, a file in the 7ZIP download. ******* a (Add) command Adds files to archive. Examples 7z a archive1.zip subdir\ adds all files and subfolders from folder subdir to archive archive1.zip. The filenames in archive will contain subdir\ prefix. 7z a archive2.zip .\subdir\* adds all files and subfolders from folder subdir to archive archive2.zip. The filenames in archive will not contain subdir\ prefix. cd /D c:\dir1\ 7z a c:\archive3.zip dir2\dir3\ The filenames in archive c:\archive3.zip will contain dir2\dir3\ prefix, but they will not contain c:\dir1\ prefix. 7z a Files.7z *.txt -r adds all *.txt files from current folder and its subfolders to archive Files.7z. ******* (List contents of archive) command Lists contents of archive. Examples 7z l archive.zip lists all files from archive archive.zip. ******* You should be able to use the "list" function for collision detection. Then use the "add" function to selectively add things. The tool in this case is an EXE rather than a DLL. There is also a 7z.dll, and you might be able to use that. There is also source available. https://sourceforge.net/projects/sev...s/7-Zip/15.14/ 7z1514-src.7z HTH, Paul |
Thread Tools | |
Display Modes | Rate This Thread |
|
|