Linker Tools Warning LNK4104 (Windows CE 5.0)

Send Feedback

export of symbol "symbol" should be PRIVATE

The symbol can be one of the following:

  • DllRegisterServer
  • DllRegisterServerEx
  • DllUnregisterServer
  • DllGetClassObject
  • DllCanUnloadNow

This warning is emitted when you are building an import library for a DLL and export one of the above functions without specifying it as PRIVATE in the module-definition file.

In general, these functions are exported for use only by OLE.

Placing them in the import library can lead to unusual behavior when a program linked to the library incorrectly makes calls to them.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.