I am getting this error when I am trying to build my driver:
Driver.cpp(7): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
I am using Visual Studio 2012 with WDK 8.1 installed (I have not cinfigured anything in VS).
Any help is appreciated.
You need Visual Studio 2013 for WDK 8.1
Quote :
Go to project properties -> C/C++ -> General, and add ddk headers path to Additional Include Directories tab. It should be sth like $(WDKPATH)\inc\ddk where $(WDKPATH) is ofc a directory where You have installed WDK.