FIX: APPLOADER in Standard-Mode Windows 3.1 Causes GP Fault (83406)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q83406 SYMPTOMS
Microsoft FORTRAN QuickWin programs that work successfully in Windows 3.0
in standard mode cause a protection fault on load in Windows 3.1 in
standard mode on 286 machines.
CAUSE
The default FORTRAN QuickWin definitions file, FL.DEF, contains a
reference to a custom Windows loader __MSLANGLOAD. The reason for this
custom loader was that the loader in Windows 3.0 could not load static data
larger than 64K. This loader is no longer required in Windows 3.1. It is
not supposed to cause a problem with Windows 3.1, and in enhanced mode it
doesn't appear to be a problem. But it does cause a problem with Windows
3.1 in standard mode on a 286 machine. This does not appear to be a problem
under Windows in standard mode on 386 machines.
RESOLUTION
Remove the following line from the definition file:
APPLOADER '__MSLANGLOAD'
STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.1. This
problem was corrected in FORTRAN PowerStation.
MORE INFORMATION
Since OS/2 2.0 cannot run Windows in enhanced mode, the APPLOADER line
in FL.DEF causes a QuickWin application to GP fault as well.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB83406 |
---|
|