including DDK headers

Jun 26, 2014 at 11:22pm
Hi,

I'm having a bit of trouble including headers from driver development kit to Visual Studio 2013. Can anyone help me, what I am doing wrong?


http://www.imageupload.co.uk/images/2014/06/26/Image.jpg


http://i.imgur.com/M6paaCB.jpg

thanks cplusplus.com
Last edited on Jun 26, 2014 at 11:40pm
Jun 27, 2014 at 2:49am
where are you Guys?

come on !!
Jun 27, 2014 at 4:24am
Sounds like you increase the priority of the WinDDK include directory in the list of include directories. If you add it on the project properties, it should take precedence over the IDE-wide list.
Jun 27, 2014 at 6:00am
Last edited on Jun 27, 2014 at 6:01am
Jun 27, 2014 at 6:19am
You'll find the project directory settings under C/C++, General.
Jun 27, 2014 at 6:46am
i am so sorry helios (11069)
watch this pic\\\ what can i do now

http://www.imageupload.co.uk/images/2014/06/27/image2.jpg
Jun 27, 2014 at 7:00am
Add the path to the WinDDK include directory.
Jun 27, 2014 at 7:11am
Jun 27, 2014 at 7:14am
No, the DDK. That's the SDK.
Jun 27, 2014 at 7:20am
header ntddk.h in this path :

C:\Program Files (x86)\Windows Kits\8.1\Include\km\ntddk.h
Jun 27, 2014 at 7:40am
closed account (z05DSL3A)
Silly question...possibly...

Have you defined _WIN32_WINNT in your code? I noticed the error in one of your pictures was a C1189 error.
Jun 27, 2014 at 7:53am
iam sorry;

you too Grey Wolf


any advice please !!
Last edited on Jun 27, 2014 at 8:06am
Jun 27, 2014 at 7:59am
closed account (z05DSL3A)
Nice, hope you have fun.
Jun 27, 2014 at 8:05am
may be i cant using <ntddk.h>
in Console Application ?

when i build driver is succed

Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Last edited on Jun 27, 2014 at 8:51am
Topic archived. No new replies allowed.