BUG: Missing Structure Element Declaration, BSESUB.FD

Last reviewed: July 12, 1995
Article ID: Q75198
The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, versions 5.0 and 5.1
  • Microsoft FORTRAN for OS/2, versions 5.0 and 5.1

SYMPTOMS

Programs which use the BSESUB.FI and BSESUB.FD include files, in addition to the VIOGETCONFIG function, may generate the following error message:

   error F2745:  CB : I/O of entire structures illegal

CAUSE

The include file BSESUB.FD is missing an element within the VIOCONFIGINFO structure declaration.

RESOLUTION

The include file BSESUB.FD defines the VIOCONFIGINFO structure as follows:

   STRUCTURE /VIOCONFIGINFO/
      INTEGER*2 adapter
      INTEGER*2 display
      INTEGER*4 cbMemory
   END STRUCTURE

The corresponding include file BSESUB.FI defines VIOCONFIGINFO differently, as follows:

   STRUCTURE /VIOCONFIGINFO/
      INTEGER*2 cb
      INTEGER*2 adapter
      INTEGER*2 display
      INTEGER*4 cbMemory
   END STRUCTURE

The structure definition in BSESUB.FD should be modified to match the definition in BSESUB.FI.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FORTRAN versions 5.0 and 5.1 for MS-DOS and OS/2.

This is not a problem in FORTRAN PowerStation.


Additional reference words: 5.00 5.10
KBCategory: kbprg kberrmsg kbbuglist
KBSubcategory: FORTLngIss


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: July 12, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.