PRB: "Export Not Defined" Linker MessageLast reviewed: July 22, 1997Article ID: Q74699 |
3.00 3.10
WINDOWS
kbprg kbprb
The information in this article applies to:
SYMPTOMSThe linker reports an "export not defined" error even though all the functions listed in the EXPORTS section of the definitions (DEF) file are defined.
CAUSEOne of the exported functions uses the C calling convention (cdecl).
RESOLUTIONIn the C calling convention, the case of function names is preserved, and the name of each function is preceded by an underscore. This convention must also be used in the DEF file. For example, the function declaration
int FAR Function()is exported as:
_Function |
Additional reference words: 3.00 3.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |