The information in this article applies to:
SYMPTOMSThe following errors are generated when building a DLL using a module definition (.DEF) file that does not use the fully decorated name of a function named testing:
RESOLUTIONUse the fully decorated name in the EXPORTS section of the DEF file or the LINK command line. MORE INFORMATIONThere may be times when it is desirable not to modify the Fortran source code to add the DLLEXPORT attribute to a function. For example, you might want to maintain a common code base for several computer platforms. In this case, the exports must be identified in the EXPORTS section of a .DEF file or the LINK command line. In either case, if the name specified is not the fully decorated name, the errors described above will be generated by the linker. Steps to Reproduce Problem
Example ResolutionTo successfully link and produce a DLL, include the fully decorated name in the .DEF file:library testor in the EXPORT LINK option:
Sample Code
Additional query words: 1.00 4.00
Keywords : kbcode kbFortranPS kbLangFortran |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |