Tech Support > Microsoft Windows > Drivers > Dual DDK?
Dual DDK?
Posted by Sean Whitesell on July 30th, 2003


Can the XP sp1 DDK reside on the same box as the Win 2000
DDK? I haven't received the XP DDK yet so I wanted to
prep my computer prior to installation.

Thanks.

Posted by Nick Ryan on July 30th, 2003


No need to... the latest DDK has build environments for 2k, XP and 2k3.

Sean Whitesell wrote:

--
- Nick Ryan (MVP for DDK)


Posted by David J. Craig on July 31st, 2003


I keep several DDKs on my system. Some of them were copied from an
installed version so I could uninstall it, but still retain the files. I
have 98, NT4, W2K, XP, and .NET all on one drive. I use the XP SP1 IFS Kit
for all W2K and XP drivers. I haven't done any 9x drivers for a while, but
I would probably use VtoolsD and the 98 DDK if needed. I name the
directories as: DDK98, DDK03, DDKXP, DDKNT4, and DDKW2K. I use CodeWright
with batch files that permit me to compile any driver or utility with the
appropriate DDK, SDK and compiler as needed. I use BASEDIRXP to point to
the correct DDK and for all the other versions I have similar names. The
batch files then set BASEDIR to the value in BASEDIRXP, ... as needed and
then the path, include, and lib directories are initialized correctly. Much
easier than doing it the hard way.

"Mark Roddy" <mroddy@tellink.net> wrote in message
news:rhmgivg9aar3gp152vmr4pscd19prcpeok@4ax.com...


Posted by Maxim S. Shatskih on July 31st, 2003


I have all 3 DDKs installed - NT4, w2k and XP (XP build env). All are working
fine.

Looks like the problem can be in installation order.

Max



Posted by Mark Roddy on July 31st, 2003


On Thu, 31 Jul 2003 04:24:21 +0400, "Maxim S. Shatskih"
<maxim@storagecraft.com> wrote:

platformsdks that requires either having multiple platformsdks
installed or fixing up the batchfiles that invoke the sdk setenv.




=====================
Mark Roddy
Windows XP/2000/NT Consulting, Microsoft DDK MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
For Windows Device Driver Training: see www.azius.com

Posted by Sean Whitesell on July 31st, 2003


Thank you all for your replies. Sounds like I have a
good chance of install the new DDK without too much
worry. I'm a bit of novice with device level stuff so any
DDK installation suggestions would be most helpful.

Thanks.


Posted by Maxim S. Shatskih on July 31st, 2003


I have no Platform SDKs installed. NT4 DDK only requires a tiny SETENV.BAT file
from the SDK.
SDK makes sense if you work with very new user-mode technologies. Otherwise,
DDK is for kernel work, and MSVC's headers and libraries are for user mode.

Max



Posted by Mark Roddy on July 31st, 2003


On Thu, 31 Jul 2003 20:39:32 +0400, "Maxim S. Shatskih"
<maxim@storagecraft.com> wrote:

Like I said, either you have to modify the NT4 DDK or install a
compatible SDK.

DDK, were essentially rev-locked to specific platform sdks and visual
studio releases. This is another reason why the XP and later DDKs,
which contain all the headers required to build user mode as well as
kernel mode components, are vastly superior for development
organizations that require reproducible build environments.




=====================
Mark Roddy
Windows XP/2000/NT Consulting, Microsoft DDK MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
For Windows Device Driver Training: see www.azius.com

Posted by wenhua on August 1st, 2003


When installing multiple DDKs, install them to different
directories, you will get multiple DDK installations in
your system.

Posted by wenhua on August 2nd, 2003


I have NT DDK installed in NTDDK directory, Windows 2000
DDK installed in W2KDDK directory, 3 Windows.NET DDK
installed in WINDDK\3615, WINDDK\3718, WINDDK\3790.

NT DDK and Windows 2000 DDK need Visual Studio 6 and
Platform SDK(SDK actually is not needed, you can change
setenv.bat to avoid installing SDK).

Windows.NET DDKs have their own compiler, it's self-
dependent.