DOCUMENT:Q82549 06-NOV-1999 [win95x] TITLE :GP Faults with Microsoft FORTRAN 5.1 Programs PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:3.1,3.11 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 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. Additional query words: 3.10 3.11 ====================================================================== Keywords : Technology : kbWin3xSearch kbZNotKeyword3 kbWin310 kbWin311 Version : WINDOWS:3.1,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. Copyright Microsoft Corporation 1999.