查了一下MSDN,说这个函数返回E_FAIL表示:Attempted to create a device with the debug layer enabled and the layer is not installed.一个临时解决方法就是不要带debug layer创建设备。

    最后上网查了一下,发现是安装KB2670838引起的,KB2670838详细说明里也有提到debug layer的问题及解决方法,http://support.microsoft.com/kb/2670838/en-us?fr=1,其中一个方法就是安装Windows 8 SDK。

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2019-06-17
  • 2021-05-18
猜你喜欢
  • 2021-07-25
  • 2022-01-05
  • 2021-11-07
  • 2021-04-17
  • 2021-05-24
  • 2021-07-26
  • 2021-11-09
相关资源
相似解决方案