Microsoft KB Archive/83406

= FIX: APPLOADER in Standard-Mode Windows 3.1 Causes GP Fault =

Article ID: 83406

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 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.

Additional query words: 5.10

Keywords: kbfix KB83406

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.