Solved

Packed File Corrupt / Loadfix for Win95

Posted on 1997-08-24
3
332 Views
Last Modified: 2013-12-29
I have a program that I've been using with DOS & Win31 that need 'Loadfix' to be used prior to the program name when exectuting it to load it past the first 64k in Dos memory.  This unfortunately does not work in windows 95.  I've seen an option for Win NT, but nothing for 95.. Any way to get this to work?

Randy Katz
0
Comment
Question by:rkatz
3 Comments
 
LVL 1

Expert Comment

by:arh
ID: 1695451
Win 95 Resource Kit says:

The following commands are not included with the basic Windows 95 files:
.. many commands skipped
      loadfix 1      
.. many, many commands skipped
1      This command is available in the OTHER\OLDDOS directory on the Windows 95 compact disc.

I don't have now win95 CD handy to check if this is true.
0
 
LVL 9

Accepted Solution

by:
magigraf earned 200 total points
ID: 1695452
QEMM-386, QEMM-50/60, and QRAM, because of their ability to load device drivers and TSRs into High RAM, can make more conventional memory available to programs. With the advent of MS and PC DOS version 5.0 even more conventional memory can be made available by loading the DOS kernel into the HMA. As a result, less of the conventional memory area is occupied than ever before. With the operating system, its device drivers and other resident programs all loaded into memory above 640K, applications can load into lower areas of memory, areas previously occupied by DOS and its device drivers.
This sometimes causes an error message "Packed file is corrupt" when certain programs are run from the DOS command line or in a DESQview window. The source of this error message is the EXEPACK program from Microsoft. EXEPACK is a utility provided with Microsoft's Macro Assembler development package.
The purpose of EXEPACK is to reduce the file size of the finished executable by compressing the data contained in it and prepending a small decompression routine to the beginning of the program file. When an EXEPACKed program is run, this decompression routine unpacks the program into memory, and then passes control to the beginning of the actual program, which then continues to run normally.

EXEPACK will generate a spurious "Packed file is corrupt" error message if it finds itself loaded at a starting address below the first 64K of conventional memory (note: 64K, not 640K), and the A20 line is enabled, which it must be to use the HMA (as in "DOS=HIGH") or extended memory. This is a common occurrence in
today's DOS 5.0 and QEMM-386 environment. Microsoft provides a fix for this situation in a small utility included with DOS 5.0: LOADFIX.COM. LOADFIX is invoked with the program to fix as the sole parameter. Its only function is to occupy the first 64K of conventional memory, forcing the program it is "fixing" to load
above that area, thereby avoiding the "Packed file is corrupt" error message.

If you need LOADFIX, give your e-mail, and I'll send it to you!
Let me know!
0
 

Author Comment

by:rkatz
ID: 1695453
Unfortunately, using LOADFIX does not solve the problem.  I assume it is incompatible with the Win95 dos Shell.  I even tried typing 'command' several times which is supposed to lower DOS memory starting in the beginning. Since I saw a message on microsoft's tech server talking about a verison of LOADFIX for Win NT, I would assume it must have been modified to work there, but they make no mention of it for Win95..

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now