Cannot open include file: 'ntddk.h'

前端 未结 6 2178
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 05:30

I\'m been trying to get into driver development (queue the \"don\'t do that\") I have been looking at this msdn page and after installing the WDK (Windows Driver Kit) 10 I a

6条回答
  •  迷失自我
    2021-01-04 05:59

    You need to add WDK headers path to your vcxproj include directories:
    vcxproj properties -> C/C++ -> General -> Additional Include Directories

    C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\km\
    

    P.S.: Make sure you install SDK 10 together with WDK 10.
    P.P.S: Without SDK you will get Cannot open include file: 'ntdef.h' error

提交回复
热议问题