> Did you mean WLHBASE?
Unless I have a typo in ddkbuild.bat
If it’s a typo, then it is permeating the web help also,
check out
http://www.hollistech.com/Resources/ddkbuild/ddkbuildhelp3_14.htm
that ddkbuild honestly presents once you screw up its cmd line.
Quote from the web page: “WLHXP indicates development system
uses the WHLBASE environment variable to locate WDK versions
6000 or 6001 and build X86 XP binaries (optional.)”
That’s what I call a pro script writer: scripts work after any
permutation of variable names… Next step - surviving any
permutation of a script text as a whole…
Seriously, I doubt that WHLBASE is a typo, I still have
WDF_DDK=C:\WinDDK\6000
WDF_ROOT=C:\WinDDK\6000
so there is no way for a script to guess where 6001 lives
(and it does, see the log below).
The purpose of my exercise actually was - well, to help the
guy out in the first place - to check whether it still is
as simple as that.
I did not look into the bat file itself, I grabbed the
first folder with “sources” and followed the instructions,
I did not bother to check what the code I used as a
sample does…
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-319934-
xxxxx@lists.osr.com] On Behalf Of Mark Rodriquez
Sent: Friday, April 04, 2008 10:12 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Hollistech DDKBUILD problem
Did you mean WLHBASE?
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Alex Shvedov
Sent: Friday, April 04, 2008 9:39 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Hollistech DDKBUILD problem
- Create/set an environment variable like
WHLBASE=C:\WinDDK\6001.18000
-
Copy ddkbuild.bat into C:\Windows\System32\ddkbuild.bat
-
Create a new “Makefile” project in VC6.
-
In “Project Settings” -> Genral -> “Build command line” replace the
content by
ddkbuild -WLHXP checked .
for “Win32 Debug” build and by
ddkbuild -WLHXP free .
for “Win32 Release” build. Do not miss a . (dot) at the end of both
lines!
It points to the current directory!
You may also replace “Output file name” by yourDrvr.sys.
[Later You will probably want to add in-IDE browsing capabilities.]
-
Copy all relevant source and header files into this newly created
directory (simplest case assumed here), the one where you should have a
DSP
file by now. Make sure that the “sources” file is in it also.
-
Build the project in debug mode.
You get \objchk_wxp_x86\i386\echo.sys.
>
> In the IDE’s output window You get something like (echo is the driver’s
> name):
>
>
> --------------------Configuration: echo - Win32 Debug------------------
> –
> DDKBUILD VERSION 3.14.37 FREEWARE FROM HOLLIS TECHNOLOGY SOLUTIONS
> Comments? Suggestions? xxxxx@hollistech.com
> DDKBUILD using WLH DDK in directory .
> for chk version basedir C:\WinDDK\6001.18000 extension chk_wxp_x86
> commandline: " build -e -MI "
> BUILD: Compile and Link for x86
> BUILD: Loading c:\winddk\6001.18000\build.dat…
> BUILD: Computing Include file dependencies:
> BUILD: Start time: Fri Apr 04 09:29:28 2008
> BUILD: Examining c:\projects\echo directory for files to compile.
> c:\projects\echo
> BUILD: Saving c:\winddk\6001.18000\build.dat…
> BUILD: Compiling c:\projects\echo directory
> _NT_TARGET_VERSION SET TO WINXP
> BUILD: Linking for c:!projectsone_now_c\echo directory
> _NT_TARGET_VERSION SET TO WINXP
> BUILD: Finish time: Fri Apr 04 09:29:30 2008
> BUILD: Done
> =============== build warnings ======================
>
>
> build complete status 0
>
> echo.sys - 0 error(s), 0 warning(s)
>
>
> That’s it.
>
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-319920-
> > xxxxx@lists.osr.com] On Behalf Of FarmerJo
> > Sent: Friday, April 04, 2008 7:25 AM
> > To: Windows System Software Devs Interest List
> > Subject: Re:[ntdev] Hollistech DDKBUILD problem
> >
> > Does anyone use the standard build.bat file with visual studio? If so
> > could
> > you tell me how to configure a visual studio project? I am usnig V6
> of
> > VS
> > and run windows XP.
> >
> > FarmerJo
> >
> >
> >
> > —
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other seminars visit:
> > http://www.osr.com/seminars
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer