Skip to content

Create a Visual Studio project#134

Open
michaelwright235 wants to merge 7 commits intodesowin:masterfrom
michaelwright235:vs
Open

Create a Visual Studio project#134
michaelwright235 wants to merge 7 commits intodesowin:masterfrom
michaelwright235:vs

Conversation

@michaelwright235
Copy link

@michaelwright235 michaelwright235 commented Oct 23, 2023

I've created a VS Solution consisting 2 projects: the driver itself and a cli tool. Both gets successfully compiled for x64 and ARM64. The cli tool also gets compiled to x86. The driver supposedly don't support x86 (I might used a too new version of WDK).
In addition to Visual Studio itself make sure to install those components:

  • MSVC v143 - VS 2022 C++ Arm64 build tools (Latest)
    or MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
  • MSVC v143 - VS 2022 C++ Arm64 Spectre-mitigated libs (Latest)
    or MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
  • Windows 10 or 11 SDK
  • WDK for Windows 10 or 11

A manual is available from Microsoft.
Compiled binaries are located at the path of ./build.

Compiling this driver is difficult using newer VS and WDK, so I made a VS
project that will help doing this.
Also I'm using newer WDK, so an updated .inf file is required.
You can still build this project with bat scripts, if your environment
mathes the old requirements.
Remove non-working debug configs
@UbiquitousBear
Copy link

UbiquitousBear commented Dec 30, 2025

@desowin is there any further work here that can be done for it to be merged in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants