a basic one

Hi,
this i think is a real basic one, but cant help it.
I have VC 6.0 loaded on my m/c, and i have installed NT 4.0 DDK, in it. I
dont have win32 sdk loaded . when i try to build a driver, it saying that
familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime back,
in this group, i remember reading that, loading VC 6.0 is akin to loading
sdk, and dont need to laod sdk again.
so, what shld i do, to remove the build error…

tia,
chaitanya

It has got to do with ddk dependency on SDK.NT4.0 DDK is dependent on SDK
installation irrespective of VC version. setenv.bat looks for MSTOOLS env
variable.Windows 2000 DDK is not dependent on SDK and setenv.bat included
with it doesn’t search for MSTOOLS, so build will go thru w/o it.

thx

  • pash

Hi,
this i think is a real basic one, but cant help it.
I have VC 6.0 loaded on my m/c, and i have installed NT 4.0 DDK, in it. I
dont have win32 sdk loaded . when i try to build a driver, it saying that
familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime
back,
in this group, i remember reading that, loading VC 6.0 is akin to loading
sdk, and dont need to laod sdk again.
so, what shld i do, to remove the build error…

tia,
chaitanya


You are currently subscribed to ntdev as: xxxxx@Legato.COM
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

SDK is needed for NT4.0 ddk.
you can’t build a Nt4.0 driver without SDK.

however if your are using Win2000 ddk (for building for win2000), then SDK
is not neccessary.

regards
jeseem
mailto:xxxxx@hotmail.com

----- Original Message -----
From: “Bhaava Chaitanya Kancherla”
To: “NT Developers Interest List”
Sent: Friday, July 21, 2000 2:27 AM
Subject: [ntdev] a basic one

> Hi,
> this i think is a real basic one, but cant help it.
> I have VC 6.0 loaded on my m/c, and i have installed NT 4.0 DDK, in it. I
> dont have win32 sdk loaded . when i try to build a driver, it saying that
> familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime
back,
> in this group, i remember reading that, loading VC 6.0 is akin to loading
> sdk, and dont need to laod sdk again.
> so, what shld i do, to remove the build error…
>
> tia,
> chaitanya
>

This is correct, the NT 4.0 DDK install requires the Win32 SDK
install to have completed successfully on the development machine.
To avoid unneccesary disk usage we perform the following steps
when installing the Win32 SDK:

Run setup
select custom install
select dir
select only the development environment and tools (top check box)
select options for dev env (button to right)
deselect all options in the dialog
setup will create the directory, setenv.bat and setup the registry

The NT 4.0 DDK will then run and install

The only ‘requirements’ for NT 4.0 DDK are:
VC (we use 5 or 6)
SDK (installed as above)
DDK

BR
Alun

-----Original Message-----
From: Jeseem [mailto:xxxxx@hotmail.com]
Sent: 21 July 2000 17:25
To: NT Developers Interest List
Subject: [ntdev] Re: a basic one

SDK is needed for NT4.0 ddk.
you can’t build a Nt4.0 driver without SDK.

however if your are using Win2000 ddk (for building for win2000), then SDK
is not neccessary.

regards
jeseem
mailto:xxxxx@hotmail.com

----- Original Message -----
From: “Bhaava Chaitanya Kancherla”
To: “NT Developers Interest List”
Sent: Friday, July 21, 2000 2:27 AM
Subject: [ntdev] a basic one

> Hi,
> this i think is a real basic one, but cant help it.
> I have VC 6.0 loaded on my m/c, and i have installed NT 4.0 DDK, in it. I
> dont have win32 sdk loaded . when i try to build a driver, it saying that
> familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime
back,
> in this group, i remember reading that, loading VC 6.0 is akin to loading
> sdk, and dont need to laod sdk again.
> so, what shld i do, to remove the build error…
>
> tia,
> chaitanya
>


You are currently subscribed to ntdev as: xxxxx@des.co.uk
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Are you trying to run BUILD from a command line or letting Visual Studio do
the build? If your using BUILD then you have to properly install the SDK and
DDK.

-----Original Message-----
From: Bhaava Chaitanya Kancherla
[mailto:xxxxx@cmcltd.com]
Sent: Friday, July 21, 2000 2:27 AM
To: NT Developers Interest List
Subject: [ntdev] a basic one

Hi,
this i think is a real basic one, but cant help it.
I have VC 6.0 loaded on my m/c, and i have installed NT 4.0
DDK, in it. I
dont have win32 sdk loaded . when i try to build a driver,
it saying that
familiar MSTOOLS env. variable not set, plis load win32 sdk.
sometime back,
in this group, i remember reading that, loading VC 6.0 is
akin to loading
sdk, and dont need to laod sdk again.
so, what shld i do, to remove the build error…

tia,
chaitanya


You are currently subscribed to ntdev as:
xxxxx@delphieng.com
To unsubscribe send a blank email to
$subst(‘Email.Unsub’)

I do all of my driver development, as projects, within Visual Studio. I
don’t even have an MSTOOLS or MSSDK directory on my system.

The only things needed for driver development for NT 4 or Win2k are Visual
C++ 6.0, which includes Visual Studio, and the proper DDK. I haven’t needed
to do a command line BUILD in well over 3 months. I was, for a time, running
BLD.BAT from a command line to build a library that contains our own kernel
mode API. Since I figured out how to out the lib in Visual Studio I don’t
need to do that anymore.

I have removed the checking for MSTOOLS variable, in the setenv.bat, and now
it is working fine. I did not install, win32 sdk, and i have VC6.0 installed
on m/c. and i am able to build drivers without any problem.

thanks everybody,
chaitanya

----- Original Message -----
From: Alun Carp
To: NT Developers Interest List
Sent: Friday, July 21, 2000 7:47 PM
Subject: [ntdev] Re: a basic one

> This is correct, the NT 4.0 DDK install requires the Win32 SDK
> install to have completed successfully on the development machine.
> To avoid unneccesary disk usage we perform the following steps
> when installing the Win32 SDK:
>
> Run setup
> select custom install
> select dir
> select only the development environment and tools (top check box)
> select options for dev env (button to right)
> deselect all options in the dialog
> setup will create the directory, setenv.bat and setup the registry
>
> The NT 4.0 DDK will then run and install
>
> The only ‘requirements’ for NT 4.0 DDK are:
> VC (we use 5 or 6)
> SDK (installed as above)
> DDK
>
> BR
> Alun
>
> -----Original Message-----
> From: Jeseem [mailto:xxxxx@hotmail.com]
> Sent: 21 July 2000 17:25
> To: NT Developers Interest List
> Subject: [ntdev] Re: a basic one
>
>
> SDK is needed for NT4.0 ddk.
> you can’t build a Nt4.0 driver without SDK.
>
> however if your are using Win2000 ddk (for building for win2000), then SDK
> is not neccessary.
>
> regards
> jeseem
> mailto:xxxxx@hotmail.com
>
>
> ----- Original Message -----
> From: “Bhaava Chaitanya Kancherla”
> To: “NT Developers Interest List”
> Sent: Friday, July 21, 2000 2:27 AM
> Subject: [ntdev] a basic one
>
>
> > Hi,
> > this i think is a real basic one, but cant help it.
> > I have VC 6.0 loaded on my m/c, and i have installed NT 4.0 DDK, in it.
I
> > dont have win32 sdk loaded . when i try to build a driver, it saying
that
> > familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime
> back,
> > in this group, i remember reading that, loading VC 6.0 is akin to
loading
> > sdk, and dont need to laod sdk again.
> > so, what shld i do, to remove the build error…
> >
> > tia,
> > chaitanya
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@des.co.uk
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntdev as: xxxxx@cmcltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)

> familiar MSTOOLS env. variable not set, plis load win32 sdk. sometime

You need SETENV.BAT - in the SDK, not in MSVC.
Set MSTOOLS to the directory where this BAT file is placed.

Max