Microsoft Research Detours is described as 'v3 Professional is a library for instrumenting arbitrary Win32 functions on x86, x64, and IA64 machines. Now you can intercept Win32 functions by re-writing the in-memory code for target functions' and is an app in the Development category. There are six alternatives to Microsoft Research Detours for Windows, .NET Framework and Microsoft Visual Studio. The best alternative is Deviare API Hook, which is both free and Open Source. Other great apps like Microsoft Research Detours are Deviare In-Process (Free, Open Source), HookInjEx (Free, Open Source), Mhook (Free, Open Source) and EasyHook (Free, Open Source).
Deviare is a powerful Code Interception Library, with a very simple interface that lets you hook many processes on your own application without any IPC coding. It can be used in any COM supporting languages as C++, VB and .NET.
How to inject code into another processes address space, and then execute it in the context of this process.; Author: Robert Kuster; Updated: 21 Aug 2003; Section: Threads, Processes & IPC; Chapter: General Programming; Updated: 21 Aug 2003
If you dabble in this area then you’ll already know that Microsoft Research's Detours pretty much sets the benchmark when it comes to API hooking. Why don't we get a comparison out of the way quickly then? DETOURS VS.
EasyHook makes it possible to extend (via hooking) unmanaged code APIs with pure managed functions, from within a fully managed environment on 32- or 64-bit Windows XP SP2, Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.
"madCodeHook" offers everything you need to hook code (mostly APIs). Supports Delphi 4-7, Delphi 2005-10.1 Berlin (32bit and 64bit), Borland C++ Builder 5-6, Borland C++ Builder 2006-10.1 Berlin (32bit only for now), MSVC++ (32bit and 64bit).