Driver Basic Steps in Visual Studio?!

Mental Element 1 Reputation point
2022-06-16T11:47:50.943+00:00

starting from scratch & trying get on System Devices(ENDED Support & Driver Softwares don't update 'em) like :
*Intel(R) 7 Series/C216 Chipset Family SMBus Host Controller - 1E22 (no drivers installed)
*Legacy Device - on Intel(R) HM76 Express Chipset LPC Controller - 1E59

  • some same Intel(R) 7 Series - 1E16 (that isn't present at all)
  • some others as System Board or Motheboard Resources probably too;

installed VS 2019, didn't find yet all around the googled stuff - the principle steps into it :

  1. create project - KMDF(empty or full) is okay, after found explanation to set Solution to Release & x64, Driver Setting to Windows Driver, .. cleaned by myself - but what after??? what the steps after this - NO IDEA, ..
    ~ should build a solution already? .. or to opem Code? .. or how identify a concrete System Device in Code?!
    & how be for such devices with this "MSBuild error MSB8040" should Qspectre enabled or can disable?!

any Help for Dinos?!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,560 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,540 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2022-06-17T13:19:01.863+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to KMDF drivers.

    To fix the error, first decide if you want Spectre mitigation. You can read about Spectre mitigation at the page for the /Qspectre compiler option. If you don't want Spectre mitigation, make sure it's disabled. For command-line builds, check that you're not using the /Qspectre compiler option or its variants /Qspectre-load and /Qspectre-load-cf. To disable it in the Visual Studio IDE, open Properties for your projects, and in the Configuration Properties > C/C++ > Code Generation property page, set the Spectre Mitigations property to Disabled

    Reference :
    https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8040?view=vs-2022

    https://learn.microsoft.com/en-us/answers/questions/892052/driver-basic-steps-in-visual-studio.html

    ----------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Mental Element 1 Reputation point
    2022-06-21T11:58:42.277+00:00

    ok,
    to support the old PC, with no longer supported hardware is to move backwards & dig into unnecessary things, .. 2013 Tech is a lot in past as Dinosaures, .. :))) ..

    *yeaa, learning it is for learning sake, for skills higher, & machine understanding, ..
    [ shut down this thread ] - [ only SAD about some things as powerless World ]


  3. Mental Element 1 Reputation point
    2022-06-22T13:33:58.457+00:00

    :))) .. Good Stuff

    yaaaa.. Super!!! :)))

    0 comments No comments