Jun 26, 2014 at 11:22pm UTC
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 UTC
Jun 27, 2014 at 2:49am UTC
where are you Guys?
come on !!
Jun 27, 2014 at 4:24am UTC
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 UTC
Last edited on Jun 27, 2014 at 6:01am UTC
Jun 27, 2014 at 6:19am UTC
You'll find the project directory settings under C/C++, General.
Jun 27, 2014 at 7:00am UTC
Add the path to the WinDDK include directory.
Jun 27, 2014 at 7:14am UTC
No, the DDK. That's the SDK.
Jun 27, 2014 at 7:20am UTC
header ntddk.h in this path :
C:\Program Files (x86)\Windows Kits\8.1\Include\km\ntddk.h
Jun 27, 2014 at 7:40am UTC
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 UTC
iam sorry;
you too Grey Wolf
any advice please !!
Last edited on Jun 27, 2014 at 8:06am UTC
Jun 27, 2014 at 8:05am UTC
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 UTC