The information in this article applies to:
SYMPTOMSAn attempt to link an application fails and an L2029 unresolved externals error occurs. CAUSEThe FGRAPH.FI file is placed at the beginning of the main file and FGRAPH.FD is placed in a subroutine in a separate file. This cause applies ONLY when the symbol name is a graphics function, and it is in all capitol letters with no leading underscore. RESOLUTION
Modify the source code to include the FGRAPH.FI file (the INTERFACE
statements) at the beginning of each file that contains a graphics
call. Include the FGRAPH.FD file (the variable declarations) in
each subroutine that calls a graphics routine.
MORE INFORMATION
For more information on the FGRAPH.FD and FGRAPH.FI files, see page
180 of the Microsoft FORTRAN "Advanced Topics" manual for version 5.1
or page 138 of the Microsoft FORTRAN "Advanced Topics" manual for
version 5.0.
Sample Code #1
The following code example demonstrates the correct method to make
graphics calls.
Sample Code #2
Additional query words: 5.00 5.10 L2029
Keywords : |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |