6

I'm looking for a way to intercept and redirect reads to a certain registry keys. Naturally, Detours can do it. But I need it for a commercial application and MS $10K license fee is a bit too steep. Are there any alternatives ?

Demiurg
  • 1,597
  • 8
  • 26
  • 40
  • What Detours does is not magic. I figured it out before I even knew Detours existed. You might be able to pull off the same. – MSalters Feb 04 '11 at 08:55

5 Answers5

2

You can also use Deviare API Hook if you want to solve also the IPC or Deviare In-Process for a Detours replacement. It's open source and well maintained.

Paul Exchange
  • 2,637
  • 3
  • 26
  • 33
2

The EasyHook Library might be what you are looking for. It is licensed under LGPL and its description sounds quite nice.
I have never actually used it myself because Detours was always enough for my private projects.

There is also an article about it on CodeProject but that is rather old and shows only .NET examples.

vobject
  • 5,290
  • 3
  • 29
  • 21
2

Detours 4 is now open source under the MIT license! So there is no $10k license fee anymore.

Shivanshu Goyal
  • 1,374
  • 2
  • 16
  • 22
1

Madshi's madCodeHook is what you're looking for.

Joe Jordan
  • 2,372
  • 2
  • 17
  • 20
  • I still have to figure out how (and whether) DLL redirection works, but if it does not madCodeHook is probably the best option, thanks – Demiurg Feb 05 '11 at 13:05
0

I would recommend Mhook, which is free and works great for both x86 and x64.

Make sure to use apriorit's fork of Mhook, it has lots of improvements and bug fixes that are not merged back to the original project.

Sigmund
  • 137
  • 1
  • 5