A minimal Windows DLL showing how to use Iris with SafetyHook and Dear ImGui.
The example provides a HookProvider, initializes Iris, displays the ImGui demo window, and safely disables and synchronizes hooks before unloading. Press End to shut down the client.
- 64-bit Windows
- CMake 3.28 or newer
- Ninja
- Clang/LLVM with
clang-cl - Git
cmake --preset debug
cmake --build --preset debug --target example-iriscmake --preset release
cmake --build --preset release --target example-irisBuilt DLL files are written to:
build/debug/
build/release/
CMake fetches Iris, SafetyHook, Dear ImGui, and thread-call-stack-scanner during configuration.