Speed - compatibility

c++ / delphi package - dll injection and api hooking
Post Reply
exxc
Posts: 2
Joined: Thu Oct 07, 2004 4:51 pm

Speed - compatibility

Post by exxc »

I heard from a few other coders that the code hooks are not working very good under 9x.

Is this true?

And im also interested in the speed of the lib...
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Did those other coders speak specifically about madCodeHook or did they speak about API hooks in general? In the latter case: Do they have any experience with madCodeHook?

I have several customers who are doing system wide API hooking in win9x without any major problems. madCodeHook contains a lot of win9x specific hacks which are meant to make API hooking stable in win9x.

Speed? Well, for the most part that depends on you. Just hooking some APIs alone has such a low performance hit that you won't notice it. However, it all depends on the code you put into your hook callback function.
nildo
Posts: 249
Joined: Mon Mar 22, 2004 11:32 am
Contact:

Post by nildo »

MadCodeHooks is "THE" hook library!
Trust him, I had never any problem with w9x api hooking using MadCodeHook
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Thanks, nildo... :D
exxc
Posts: 2
Joined: Thu Oct 07, 2004 4:51 pm

Post by exxc »

with speed i maen something like i found in the Detour pack:


Direct 0.113ms 14.836ms
Call Replacement 0.143ms 15.193ms
DLL Redirection 0.143ms 15.193ms
Detours Library 0.145ms 15.194ms
Breakpoint Trap 229.564ms 265.851ms

(its not very good to read... better to download it and read it there...)

Maybe someone has tested also other hooking libs and compared them... some posts about a compare with others would be nice :).

Btw: i also tryed the lib and it worked very well for me :).
Post Reply