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

Last reviewed: September 16, 1997
Article ID: Q83406
5.10 | 5.10 MS-DOS | WINDOWS kbtool kbfixlist kbbuglist

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 reference words: 5.10
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: TlsMisc
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.