Microsoft KB Archive/114985

From BetaArchive Wiki
Knowledge Base


FIX: NONAME Keyword Not Functional with EXPORTS

Article ID: 114985

Article Last Modified on 8/16/2005



APPLIES TO

  • Microsoft Linker (LINK.EXE), when used with:
    • Microsoft Visual C++ 1.0 Professional Edition
    • Microsoft FORTRAN PowerStation 32



This article was previously published under Q114985

SYMPTOMS

To export a function as an ordinal without an entryname, you should specify the NONAME keyword in one of the following ways:

  • On the functions exported using the EXPORTS statement in the module definition file (.DEF). -or-


  • On the functions exported using the Linker /EXPORT option.

However, dynamic-link libraries (DLL) linked with the version 1.0 Linker export such functions with an entryname.

STATUS

Microsoft has confirmed this to be a bug with Linker, version 1.0. This bug was corrected in Microsoft Visual C++ version 2.0.

MORE INFORMATION

The exported functions in the DLL can be viewed using "dumpbin -exports".


Additional query words: 1.00

Keywords: kbfix kb16bitonly KB114985