Hi,
I’ve just started tampering into nt device drivers. I’m trying to build
sample drivers in the ddk2000. I keep getting this error.
I’ve executed
c:\ntddk\src\general\setup\install\build
(in buildchk.err)
c:\ntddk\inc\winresrc.h(40) : error RC1015: cannot open include file
‘dlgs.h’.
install\cvtres() : error CVT1101: cannot open objchk\i386\install.tmp for
reading
install\install.c(35) : error C1083: Cannot open include file: ‘tchar.h’: No
such file or directory
As far as I can tell, both dlgs.h and tchar.h are in my visual studio
include directories. The include path has also been set correctly.
Can some one mail me a complete but simple sample of a device driver. I
guess something that prints a message indicating the installation and
removal of driver should do.
Rajeev
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
This works for me just fine.
(1) F:\ntddk\2195SP1\src\general\setup\install>build -cZPW
BUILD: Object root set to: ==> objchk
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Compiling f:\ntddk\2195sp1\src\general\setup\install directory
Compiling - install.rc for i386
Compiling - install.c for i386
BUILD: Elapsed time [0:00:06.309]
BUILD: Linking f:\ntddk\2195sp1\src\general\setup\install directory
Linking Executable - objchk\i386\install.exe for i386
BUILD: Elapsed time [0:00:07.871]
BUILD: Done
2 files compiled
1 executable built
You have an installation or configuration problem. A sample will have
the same problem.
Installation order:
Visual C++
SDK
DDK
=====================
Mark Roddy
Windows XP/2000/NT Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
xxxxx@hollistech.com
For Windows Device Driver Training: see www.azius.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rajeev Rao
Sent: Saturday, March 23, 2002 10:53 AM
To: NT Developers Interest List
Subject: [ntdev] beginners question
Hi,
I’ve just started tampering into nt device drivers. I’m
trying to build
sample drivers in the ddk2000. I keep getting this error.
I’ve executed
c:\ntddk\src\general\setup\install\build
(in buildchk.err)
c:\ntddk\inc\winresrc.h(40) : error RC1015: cannot open include file
‘dlgs.h’.
install\cvtres() : error CVT1101: cannot open
objchk\i386\install.tmp for
reading
install\install.c(35) : error C1083: Cannot open include
file: ‘tchar.h’: No
such file or directory
As far as I can tell, both dlgs.h and tchar.h are in my visual studio
include directories. The include path has also been set
correctly. Can some one mail me a complete but simple sample
of a device driver. I
guess something that prints a message indicating the installation and
removal of driver should do.
Rajeev
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
%%email.unsub%%
Hi,
I was informed that sdk is not necessary if visual studio is involved. Is
that correct? Downloading sdk will be a pain(having already downloaded ddk?
Rajeev
You have an installation or configuration problem. A sample will have
the same problem.
Installation order:
Visual C++
SDK
DDK
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
The XP ddk is complete - no compiler or sdk required. The w2k ddk
requires both the sdk and visual studio, although you only need a
minimal sdk.
=====================
Mark Roddy
Windows XP/2000/NT Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
xxxxx@hollistech.com
For Windows Device Driver Training: see www.azius.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rajeev Rao
Sent: Saturday, March 23, 2002 6:16 PM
To: NT Developers Interest List
Subject: [ntdev] RE: beginners question
Hi,
I was informed that sdk is not necessary if visual studio
is involved. Is
that correct? Downloading sdk will be a pain(having already
downloaded ddk?
Rajeev
>You have an installation or configuration problem. A sample
will have
>the same problem. Installation order:
>Visual C++
>SDK
>DDK
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
You are currently
subscribed to ntdev as: xxxxx@hollistech.com To unsubscribe
send a blank email to %%email.unsub%%
NT4 DDK requires only SETENV.BAT from the SDK.
Put SETENV.BAT from the SDK (DDK also contains SETENV.BAT, but this is other file) to some directory. Then start command line and
type
set MSTOOLS=“directory with SETENV.BAT from the SDK”
cd “DDK directory”\bin
setenv “DDK directory” checked
Then CD to your source directory (with SOURCES or DIRS) and you can run BUILD.
w2k and XP DDK do not require SDK at all. Just start “Checked Build Environment” or “Free Build Environment” from the Start menu.
Max
----- Original Message -----
From: “Rajeev Rao”
To: “NT Developers Interest List”
Sent: Saturday, March 23, 2002 6:16 PM
Subject: [ntdev] RE: beginners question
> Hi,
> I was informed that sdk is not necessary if visual studio is involved. Is
> that correct? Downloading sdk will be a pain(having already downloaded ddk?
>
> Rajeev
>
>
>
> >You have an installation or configuration problem. A sample will have
> >the same problem.
> >Installation order:
> >Visual C++
> >SDK
> >DDK
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>