Re: Proxy/Stub Dll exported symbol Warnings
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 2 Mar 2007 15:40:08 -0500
Kelly W. Zini <ControlProducts@xxxxxxxxxxxxxxxx> wrote:
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
Did you consult the documentation for LNK4222 warning, and found it
lacking?
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
You don't need to remove export symbols completely, just the "@1
PRIVATE" part. A list of names is all you need.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: Proxy/Stub Dll exported symbol Warnings
- From: Kelly W. Zini
- Re: Proxy/Stub Dll exported symbol Warnings
- References:
- Proxy/Stub Dll exported symbol Warnings
- From: Kelly W. Zini
- Proxy/Stub Dll exported symbol Warnings
- Prev by Date: Proxy/Stub Dll exported symbol Warnings
- Next by Date: Re: Proxy/Stub Dll exported symbol Warnings
- Previous by thread: Proxy/Stub Dll exported symbol Warnings
- Next by thread: Re: Proxy/Stub Dll exported symbol Warnings
- Index(es):
Relevant Pages
|