Linker Tools Warning LNK4197 (Windows CE 5.0)

Send Feedback

export "exportname" specified multiple times; using first specification

An export is specified in multiple and different ways. The linker uses the first specification and ignores the rest.

The following list shows a possible cause for this error.s

  • The same export is specified both on the command line (via export:) and in the .def file
  • The same export is listed twice in the .def file with different attributes.

If an export is specified exactly the same way multiple times, the linker will not issue a warning.

For example, the following contents of a .def file would cause this warning:

EXPORTS
functionameNONAME
functioname@10

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.