Dec 232017
Microsoft Fortran patch to correct a problem writing huge data items to unformatted or binary files within Quickwin apps. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
APPLOAD.OBJ | 2340 | 1748 | deflated |
HF0454.DOC | 3293 | 1346 | deflated |
RELOC.OBJ | 1006 | 757 | deflated |
Download File HF0454.ZIP Here
Contents of the HF0454.DOC file
======================================================================
Microsoft Product Support Services Application Note (Text File)
HF0454: PATCH FOR QUICKWIN UNFORMATTED
FILE AND HUGE DATA PROBLEM
======================================================================
Revision Date: 8/91
Disk Included
The following information applies to Microsoft FORTRAN version 5.1.
--------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification [the MS-DOS(R) |
| utility DISKCOPY is appropriate for this purpose]; 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1991 Microsoft Corporation. All Rights Reserved. |
| Microsoft, MS-DOS, and the Microsoft logo are registered |
| trademarks and Windows is a trademark of Microsoft Corporation. |
--------------------------------------------------------------------
This application note illustrates how to modify the FORTRAN version
5.1 Windows run-time library LLIBFEW.LIB to correct a problem with
HUGE data items and unformatted or binary files.
A program compiled with FORTRAN 5.1 for use with Windows can cause an
unrecoverable application error (UAE) in Windows. A UAE may occur if
the program opens a file whose form is either binary or unformatted
and then READs or WRITEs to that file using elements of HUGE arrays
that are beyond the first 64K of the array.
Included on the enclosed "Patch for QuickWin Unformatted File and HUGE
Data Problem" disk are two replacement object modules for two object
modules in the Windows library LLIBFEW.LIB. These replacement modules
correct the above problem.
The files on the enclosed disk are:
APPLOAD.OBJ
RELOC.OBJ
To make a patched version of the Windows library LLIBFEW.LIB, copy
APPLOAD.OBJ and RELOC.OBJ from the enclosed disk to the directory
where LLIBFEW.LIB is located. Then, execute the following command:
lib llibfew.lib -+appload.obj -+reloc.obj;
This command will use the Microsoft Library Manager to replace the
existing object modules in the library with the new patched versions
of the object modules. You can then delete APPLOAD.OBJ and RELOC.OBJ
from your hard disk.
Microsoft Product Support Services Application Note (Text File)
HF0454: PATCH FOR QUICKWIN UNFORMATTED
FILE AND HUGE DATA PROBLEM
======================================================================
Revision Date: 8/91
Disk Included
The following information applies to Microsoft FORTRAN version 5.1.
--------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification [the MS-DOS(R) |
| utility DISKCOPY is appropriate for this purpose]; 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1991 Microsoft Corporation. All Rights Reserved. |
| Microsoft, MS-DOS, and the Microsoft logo are registered |
| trademarks and Windows is a trademark of Microsoft Corporation. |
--------------------------------------------------------------------
This application note illustrates how to modify the FORTRAN version
5.1 Windows run-time library LLIBFEW.LIB to correct a problem with
HUGE data items and unformatted or binary files.
A program compiled with FORTRAN 5.1 for use with Windows can cause an
unrecoverable application error (UAE) in Windows. A UAE may occur if
the program opens a file whose form is either binary or unformatted
and then READs or WRITEs to that file using elements of HUGE arrays
that are beyond the first 64K of the array.
Included on the enclosed "Patch for QuickWin Unformatted File and HUGE
Data Problem" disk are two replacement object modules for two object
modules in the Windows library LLIBFEW.LIB. These replacement modules
correct the above problem.
The files on the enclosed disk are:
APPLOAD.OBJ
RELOC.OBJ
To make a patched version of the Windows library LLIBFEW.LIB, copy
APPLOAD.OBJ and RELOC.OBJ from the enclosed disk to the directory
where LLIBFEW.LIB is located. Then, execute the following command:
lib llibfew.lib -+appload.obj -+reloc.obj;
This command will use the Microsoft Library Manager to replace the
existing object modules in the library with the new patched versions
of the object modules. You can then delete APPLOAD.OBJ and RELOC.OBJ
from your hard disk.
December 23, 2017
Add comments