Tech Support > Microsoft Windows > Drivers > question about kernel mode library
question about kernel mode library
Posted by SL on October 28th, 2005


I want to build a library for kernel-mode WDM driver.
It can build with VC or .NET and it work, but not sure it is correct.
Should I use DDK to build this library ?
If yes, have any makefile sample or document ?

SL.


Posted by Don Burn on October 28th, 2005


You should only use DDK for building kernel mode code, anything else is
likely to cause subtle bugs.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"SL" <slchang@sq.com.tw> wrote in message
news:uI$rCe32FHA.472@TK2MSFTNGP15.phx.gbl...


Posted by Maxim S. Shatskih on October 28th, 2005


Yes. Use TARGETTYPE=DRIVER_LIBRARY in the SOURCES file.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Posted by SL on October 31st, 2005


Thanks!
I will try it.

SL.