From 06299dd7f1a9124c394840c803acbdf9510a7fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Sat, 7 Sep 2024 22:10:06 +0200 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcdd778..7b8fff5 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit - Add the `include` directory to your project's headers search path. - To make your life easier I recommend setting an environment variable named `DOMITO_INC_PATH` to `...\Domito\include` absolute path and... - ...in your project add `$(DOMITO_INC_PATH);` to "Additional Include Directories". -- Add includes (preferably in the provided order): +- Add includes (preferably in the provided order): ```c #include #include @@ -43,6 +43,9 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit #include ``` - Call `DomitoInit()` in your `DriverEntry` once to bootstrap internals. + +### Manual linker settings + - Link against the resulting `Domito.lib` file for your desired architecture. - To make your life easier I recommend setting an environment variable named `DOMITO_LIB_PATH` to `...\Domito\lib` absolute path and... - ...in your project add `$(DOMITO_LIB_PATH)\$(DDKPlatform)\$(Configuration)\Domito.lib;$(DOMITO_LIB_PATH)\$(DDKPlatform)\ci.lib;` to "Additional Dependencies". @@ -50,6 +53,24 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit - Link against `cng.lib` for the CNG BCrypt APIs. - Done! +### Using the property sheet + +Copy the provided `Domito.props` file into the directory of your `.vcxproj` file and customize it like below: + +```xml + + + + + + + + + + + +``` + ## Sources & 3rd party credits This library benefits from these awesome projects ❤ (appearance in no special order):