【问题标题】:Starting Windows Driver Development开始 Windows 驱动程序开发
【发布时间】:2014-09-24 06:05:55
【问题描述】:

我打算开始开发 Windows 驱动程序,但我有一些问题。

  • 如何启动一个简单的 Visual Studio 驱动程序项目?我正在使用 Visual Studio Ultimate 2012,并且我在 MSDN 上阅读了如何制作简单的软件驱动程序,但是在教程中,在 New Project 窗口中,有比我更多的选项。更准确地说,我没有Templates > Visual C++ > Windows Drivers。或者,如果我在网上搜索User Mode Driver (UMDF),我什么也找不到。我已经安装了 WDK 8.1

  • 为了正确构建驱动程序项目,我应该做哪些额外的更改?

【问题讨论】:

  • WDK 支持与最新版本的 VS(2012 和 2013)集成。假设您已正确安装这两个选项,您应该会看到这些选项。
  • 怎么可能安装错了? :) 我不认为这是问题

标签: windows visual-studio-2012 driver minifilter


【解决方案1】:

VS2012 不适用于 WDK 8.1。 您需要 WDK 8.0

【讨论】:

    【解决方案2】:

    我相信 WDK 8.1 可能不适用于 Visual Studio 2012。我确实确认您可以在 Visual Studio 2012 Ultimate 之上安装 WDK 8,并且项目模板会显示出来。

    http://msdn.microsoft.com/library/windows/hardware/ff557573

    【讨论】:

      【解决方案3】:

      也许试试这个?

      http://msdn.microsoft.com/en-us/library/vstudio/ms247116%28v=vs.100%29.aspx

      To restore the default project templates
      In the command prompt, navigate to the location of devenv.exe. This file is located in <Visual Studio Installation Path>\Common7\IDE.
      NoteNote
      
      If you are running Windows Vista or Windows 7, you must open the command prompt as an administrator by right-clicking the command prompt and then clicking Run as administrator.
      
      Type "devenv /installvstemplates" and press Enter.
      

      【讨论】:

        猜你喜欢
        • 2010-11-23
        • 1970-01-01
        • 2019-10-16
        • 2012-06-12
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-07-22
        • 2011-01-07
        相关资源
        最近更新 更多