Alok
2010-07-12 11:42:03 UTC
Hi,
When I build one dll using WDK, it gives me following error
\atlsd.lib(externs.obj) : error LNK2005: "char const * const
\atlsd.lib(externs.obj) : error LNK2005: "char const
*g_pszUpdateEventName" (?g_pszUpdateEventName@@3PBDB) already defined
in atls.lib
To ressolve this issue I found somewhere in a blog that use /
FORCE:MULTIPLE option for linker. This is for visual studio.
If this the solution for this error, then could somebody suggest me
how to give this option in SOURCES file while using WDK to create the
dll?
Thanks in advance
-Alok
When I build one dll using WDK, it gives me following error
\atlsd.lib(externs.obj) : error LNK2005: "char const * const
\atlsd.lib(externs.obj) : error LNK2005: "char const
*g_pszUpdateEventName" (?g_pszUpdateEventName@@3PBDB) already defined
in atls.lib
To ressolve this issue I found somewhere in a blog that use /
FORCE:MULTIPLE option for linker. This is for visual studio.
If this the solution for this error, then could somebody suggest me
how to give this option in SOURCES file while using WDK to create the
dll?
Thanks in advance
-Alok