DelphiHookUtils is a utility library for code hooking, inspired by wr960204's delphi-hook-library. This library replaces BeaEngine with LDE64 to reduce size, along with additional modifications and improvements.
- Support x86 and x64 architecture.
- Support hooking interfaces methods by MethodIndex.
- Support hooking Object Method.
- Support Delphi 7-12 x86/x64 for Win.
- Support Lazarus/FPC x86/x64 for Win.
To install the DelphiHookUtils binding, follow these steps:
-
Clone the repository:
git clone https://github.com/delphilite/DelphiHookUtils.git
-
Add the DelphiHookUtils\Source directory to the project or IDE's search path.
For more examples, refer to the ones under the Demos folder in the library.
For more information, refer to the wiki documentation below.
- Windows API Hooking Techniques - General overview of hooking methods in software.
- Microsoft Detours - Microsoft's library for intercepting Win32 functions.
- MahdiSafsafi DDetours - MahdiSafsafi's library for intercepting Win32 functions.
Contributions are welcome! Please fork this repository and submit pull requests with your improvements.
This project is licensed under the Mozilla Public License 2.0. See the LICENSE file for details.