Alok <> wrote:
>
>My itention is certainly not to ignore the problem. However it is that
>I have less experinece in using the WDK tool.
The issue is not unique to the WDK.
>I used /FORCE option becuase few functions were getting redefined
>(atlsd.lib, atlsd.lib). but this is based on the whether the driver is
>getting built in free or checked mode. and Any one of the these two
>lib will be used based on built type.
>
>Please give me some pointers which could help me resove the issue. I
>would like to tell that this does not happen in case of free built.
You need to figure out why you have both "atls.lib" and "atlsd.lib". My
guess is that you are linking to some non-Microsoft library that is using
ATL, and you are using the checked build of that library in both the
checked and free builds of your product. There are two ways to solve that.
The best way is to build a free build of that library, and use the free
version when you do your free build. The less good way is to suppress
atls.lib altogether, by doing this:
LINKER_FLAGS = $(LINKER_FLAGS) /NOD:atls.lib
Now, everything should come from atlsd.lib.
--
Tim Roberts,
Providenza & Boekelheide, Inc.