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

ID: Q83406


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, version 5.1
  • Microsoft FORTRAN for OS/2, version 5.1


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 :
Version : :5.1
Platform :
Issue type :


Last Reviewed: November 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.