Cannot open include file: 'ntddk.h'

前端 未结 6 2232
隐瞒了意图╮
隐瞒了意图╮ 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:52

    Solved it by selecting a different "Windows SDK Version" in Visual Studio under Project Properties -> General.

    In the directory C:\Program Files (x86)\Windows Kits\10\Include I have 5 folders with Windows SDKs. The newest (10.0.17763.0) did not have a km subfolder. After changing the Windows SDK Version from 10.0.17763.0 to 10.0.17134.0 in Visual Studio the ntddk.h header was found.

提交回复
热议问题