2014-09-24 116 views
1

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

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

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

+0

WDK支持与最新版本的VS(2012&2013)集成在一起。您应该看到这些选项,假设您已经正确安装了这两个选项。 – 2014-09-24 08:56:03

+0

怎么可能把它们安装错误? :)我不认为这是问题 – 2014-09-24 10:21:35

回答

0

也许试试这个?

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. 
+0

我已经尝试过,并没有工作 – 2014-09-24 10:21:00

0

VS2012不WDK 8.1工作。 您需要WDK 8.0