Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

308
Vistas
WDK, intellisense and C: "command-line error: exception handling option can be used only when compiling C++ driver"

I want to write a kernel driver using Visual Studio 2015, so I installed the Windows 10 SDK and WDK alongside with VS 2015.

I created empty kernel driver project and main.c inside the project.

However, intellisense does not work and error list shows:

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

I suppose VS wants me to code my project on c++ but I don't want to code on c++. I hate casting when allocating memory etc. Are there any workaround for this?

Thanks

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

C++ is usually not used in kernel mode drivers because it is not supported. I use some C++ in my drivers but that is the exception.

I see this same issue with VS 2015. Just create a blank C file in your project and you will see the intellisense (~) at the first column of the first line. This means intellisense is essentially broken for all C source files now.

over 4 years ago · Santiago Trujillo Denunciar

0

The obvious workaround is to disable IntelliSense.
Under the "Tools" menu, choose "Options". Then, click on "Text Editor", "C/C++", "Advanced". Inside the panel to the right, locate "InelliSense" and change the value for "DisableIntelliSense" to True.

over 4 years ago · Santiago Trujillo Denunciar

0

Unfortunately this is a known Visual Studio 2015 issue with C code There will, hopefully, be a fix soon. More details here: https://www.osr.com/blog/2015/08/12/windows-10-wdk-visual-studio-2015-issues/

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda