Proxy/Stub Dll exported symbol Warnings
- From: "Kelly W. Zini" <ControlProducts@xxxxxxxxxxxxxxxx>
- Date: Fri, 2 Mar 2007 14:24:51 -0600
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.
.
- Follow-Ups:
- Re: Proxy/Stub Dll exported symbol Warnings
- From: Igor Tandetnik
- Re: Proxy/Stub Dll exported symbol Warnings
- Prev by Date: Re: how to own a structure itself?
- Next by Date: Re: Proxy/Stub Dll exported symbol Warnings
- Previous by thread: how to own a structure itself?
- Next by thread: Re: Proxy/Stub Dll exported symbol Warnings
- Index(es):
Relevant Pages
|