Proxy/Stub Dll exported symbol Warnings



I am receiving warnings during the dll proxy build step in a ATL COM server
app. The make file output is as follows:

TESTAPPps.def : warning LNK4222: exported symbol 'DllGetClassObject' should
not be assigned an ordinal
TESTAPPps.def : warning LNK4222: exported symbol 'DllCanUnloadNow' should
not be assigned an ordinal
TESTAPPps.def : warning LNK4222: exported symbol 'DllRegisterServer' should
not be assigned an ordinal
TESTAPPps.def : warning LNK4222: exported symbol 'DllUnregisterServer'
should not be assigned an ordinal


The Def file is:

LIBRARY "TESTAPPPS"

EXPORTS
DllGetClassObject @1 PRIVATE
DllCanUnloadNow @2 PRIVATE
GetProxyDllInfo @3 PRIVATE
DllRegisterServer @4 PRIVATE
DllUnregisterServer @5 PRIVATE

If I remove the 4 export symbols form the def file, the dll builds but gives
an error that the "DllRegisterServer entry point was not found" on an
attempt to register it. This project was originally created in VS6 and I am
trying to port it over to VS2003 .NET. Any assistance with these warnings
would be greatly appreciated.

Thanks,

Kelly W. Zini
Control Products Unlimited, Inc.


.



Relevant Pages

  • Re: Suduko solver demo
    ... form of the sudoku solver as downloaded. ... private List remainingCells; ... Warning: unchecked call to addas a member of the raw ... Warning: unchecked conversion ...
    (comp.lang.java.help)
  • Re: Hiding inherited method
    ... why is there no warning that the code may not work the ... Is it simply because the _new_ keyword turns it off? ... Without the _new_ keyword, the warning about hiding fires, but this is a case ... where no hiding will happen anyway, because the private method _does_not_ ...
    (microsoft.public.dotnet.languages.csharp)
  • warning: this used in base member initializer list
    ... I'm guessing the warning stems from the fact that I'm passing ... However, I'm not actually using 'this', just passing and storing ...
    (comp.lang.cpp)
  • Re: Proxy/Stub Dll exported symbol Warnings
    ... The make file output is as follows: ... TESTAPPps.def: warning LNK4222: exported symbol 'DllGetClassObject' ... DllGetClassObject @1 PRIVATE ...
    (microsoft.public.vc.atl)
  • Compiling lame encoder on AIX
    ... and rest of the GNU tools from rpm's. ... ld: 0711-319 WARNING: Exported symbol not defined: tabsel_123 ... ld: 0711-317 ERROR: Undefined symbol: .pow ...
    (comp.unix.aix)