GP Faults with Microsoft FORTRAN 5.1 Programs

Last reviewed: May 1, 1997
Article ID: Q82549
3.10 3.11 WINDOWS kbother kbinterop kbprg

The information in this article applies to:

  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

Using the Microsoft FORTRAN version 5.1 dynamic-link libraries (DLLs) for Windows causes a general protection (GP) fault when the read or write statement is called in binary mode while running FORTRAN under Windows version 3.1.

You may also receive GP faults when running programs written using the FORTRAN 5.1 compiler, if the following line is in the FORTRAN definitions file: "APPLOADER __MSLANGLOAD". This line is for a special loading module designed for programs that have static data items larger than 64K running in Windows 3.0. Removing or remarking out this line solves the GP faults in Windows 3.1.

Note: If this is done on a Windows 3.0 system, the program no longer runs correctly.

If the problem still continues, contact Microsoft PSS Language Support at (425) 635-7015.


KBCategory: kbother kbinterop kbprg
KBSubcategory: win31 gpf
Additional reference words: 3.10 3.11


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: May 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.