Linking with a static library
From: Steve (swoodberry_at_foursticks.com)
Date: 11/09/04
- Next message: Steve: "A question on IoRegisterShutdownNotification()"
- Previous message: Steve: "How to ask TDI set QOS bits"
- In reply to: Spacen Jasset: "Linking with a static library"
- Next in thread: Spacen Jasset: "Re: Linking with a static library"
- Reply: Spacen Jasset: "Re: Linking with a static library"
- Reply: Maxim S. Shatskih: "Re: Linking with a static library"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 22:36:08 -0800
You will probably find it much easier if you use the
Visual C++ IDE to build your projects! The compiler and
linker are the same as the ddk (apparently), you just
need to configure project setting so that the right
includes are included and the right libs linked.
I use Visual C++ to build all my drivers - much easier
than using the ddk build - particularly when you want to
start linking in static libraries, etc. If you need a
blank project that is configured for kernel mode I can
help.
Steve.
>-----Original Message-----
>I've got a simplle static library and I want to link the
lib file in with
>the driver. What do I put in the sources file?
TARGETLIBS seems to be only
>for linking with dll stubs, or should that work?
>
>error LNK2019: unresolved external symbol
_GetModuleExportAddress@8
>referenced in function _ImageLoadNotify@12
>
>
>
>.
>
- Next message: Steve: "A question on IoRegisterShutdownNotification()"
- Previous message: Steve: "How to ask TDI set QOS bits"
- In reply to: Spacen Jasset: "Linking with a static library"
- Next in thread: Spacen Jasset: "Re: Linking with a static library"
- Reply: Spacen Jasset: "Re: Linking with a static library"
- Reply: Maxim S. Shatskih: "Re: Linking with a static library"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|