Re: Link error using KsDispatchSpecificProperty by Tim
Tim
Fri Sep 09 23:41:23 CDT 2005
"Cao.Andy@gmail.com" <Cao.Andy@gmail.com> wrote:
>How can I use the KsDispatchSpecificProperty:
>
>when I use this function, I got link error:
>
>mydriver.obj : error LNK2019: unresolved external symbol
>__imp__KsDispatchSpecificProperty@8 referenced in function
>_MyIoCtrlCompleteRoutine@12
>
>I have add the ks.lib in the source file:
>TARGETLIB=$(BASEDIR)\lib\*\$(DDKBUILDENV)\KS.lib
What version of the DDK are you using, and what kind of driver are you
building? That syntax hasn't been used in quite a while. With newer DDKs,
you say:
TARGETLIB=$(DDK_LIB_PATH)\ks.lib
But further, KsDispatchSpecificProperty would only be used with a kernel
streaming driver, and if you were writing one, you would have already been
using ks.lib.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.