new to device driver ::::How set up VC++ for device driver development in Win NT 4.0

new to device driver ::::How set up VC++ for device driver development in Win NT 4.0

Post by nobinmathe » Fri, 27 Aug 2004 17:48:47


Hello friends
i just installed win32 Sdk, WIN NT DDK and VC++. And
there is no problem of MSTOOLS environment variable. Now the problem
is , when i tried compiling the sample driver source code it gives
some errors

i will paste here some part of errors.i used win32 console
application.


/*****************error
codes***********************************************/
d:\ddk\inc\ntddk.h(8556) : error C2061: syntax error : identifier
'PCONTEXT'
d:\ddk\inc\ntddk.h(8557) : error C2059: syntax error : '}'
d:\ddk\inc\ntddk.h(8771) : error C2054: expected '(' to follow
'NTKERNELAPI'
d:\ddk\inc\ntddk.h(8775) : error C2085: 'KeInitializeDpc' : not in
formal parameter list
d:\ddk\inc\ntddk.h(8777) : error C2061: syntax error : identifier
'NTKERNELAPI'
d:\ddk\inc\ntddk.h(8787) : error C2054: expected '(' to follow
'NTKERNELAPI'
d:\ddk\inc\ntddk.h(8789) : error C2085: 'KeRemoveQueueDpc' : not in
formal parameter list
d:\ddk\inc\ntddk.h(8791) : error C2061: syntax error : identifier
'NTKERNELAPI'
d:\ddk\inc\ntddk.h(8800) : error C2054: expected '(' to follow
'NTKERNELAPI'

/***************************************************************************/

What is the reason sugest me, some solution. what all setting should
i use.

Please, Anybody tell me the steps in making a driver fom it's source
code.

Nobin Mathew
 
 
 

new to device driver ::::How set up VC++ for device driver development in Win NT 4.0

Post by Gary G. Li » Fri, 27 Aug 2004 21:13:45

Did you read the DDK documentation on BUILD? Did you open a DDK command
line, checked or free, environment and run BUILD within that environment?

--
The personal opinion of
Gary G. Little



/***************************************************************************
/

 
 
 

new to device driver ::::How set up VC++ for device driver development in Win NT 4.0

Post by Stephan Wo » Sun, 05 Sep 2004 03:51:50

See also Mark Roddy's DDKBUILD:

http://www.yqcomputer.com/

See also Mark's article:

"Windows Driver Build Methods and Tools"
http://www.yqcomputer.com/

Stephan