小编Bur*_*ürk的帖子

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

我想使用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 ++上编码.我讨厌在分配内存等时进行转换.有没有解决方法呢?

谢谢

c intellisense wdk visual-studio-2015

5
推荐指数
1
解决办法
1081
查看次数

标签 统计

c ×1

intellisense ×1

visual-studio-2015 ×1

wdk ×1