O'Reilly logo

C++ Multithreading Cookbook by Milos Ljumovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up a Visual Studio project for driver compilation

In order to use the features from Windows Driver Kit, such as compilers and libraries, you need to set up the Visual Studio project properties. To do this, perform the following operations:

  1. If you have followed the instructions from Chapter 2, Thread Concept, the example Implementing threads in kernel – open the solution KernelThread. In Solution Explorer, right-click on the DriverApp project and select Properties. Under the General tab, select Target Extension and choose Edit. Rename .exe to .sys. Click on Apply, as shown in the following screenshot:
    Setting up a Visual Studio project for driver compilation
  2. Now, expand the C++ node, and under General ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required