WriteFile Hook problem.

c++ / delphi package - dll injection and api hooking
autodebug
Posts: 9
Joined: Tue Sep 20, 2005 1:40 pm

Post by autodebug »

Thanks.

Yes I see.
If I want to hook some APIs, I must sure these APIS are not be used in callback functions. Not only the hook apis, but also all of the internally calls.

Ex: if i want to hook SendMessage, I cannot use dialogbox API in callback functions, because in the dialogbox api maybe call SendMessage API.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Correct.
Post Reply