WDK,intellisense和C:"命令行错误:异常处理选项只能在编译C++驱动程序时使用"

Bur*_*ürk 5 c intellisense wdk visual-studio-2015

我想使用Visual Studio 2015编写内核驱动程序,因此我在VS 2015中安装了Windows 10 SDK和WDK.

我在项目中创建了空内核驱动程序项目和main.c.

但是,intellisense不起作用,错误列表显示:

"command-line error: exception handling option can be used only when compiling C++ driver"

我想VS希望我在c ++上编写我的项目代码,但我不想在c ++上编码.我讨厌在分配内存等时进行转换.有没有解决方法呢?

谢谢

Bur*_*ürk 0

Visual Studio 2015 Update 1 最近发布。现在问题已经消失,一切正常。