Some questions

May 12, 2009 at 10:33 PM

I am pretty new to api hooking and am not sure if EasyHook can do what i need.

I am using C++ (visual studio 2008), a MFC application.

I need to hook some GDI methods like BitBlt etc. for the internet explorer because i am suspecting

an internet website (which has installed an activex control) making screenshots of the internet explorer

or even the whole desktop. Is that possible with EasyHook ? If yes, are there any docs/tuts showing how

to do this or similar things ?

 

Coordinator
May 13, 2009 at 8:12 AM
Edited May 13, 2009 at 8:13 AM

of course this is possible... Just install a hook for "BitBlt" in the target process "Internet explorer". You will find all the documentation in the documentation ;-). There are also some samples called "FileMon" and "ProcessMonitor"

May 21, 2009 at 5:19 PM

Thx, worked great.

I was able to install a local hook for my app. But how do i install a hook for a foreign process ? (e.g. InternetExplorer).

What are system wide hooks and how do i install them ? Do they need admin rights ?

I couldn't find any (unmanaged) examples about this.

I read that using managed sdk is much simpler and more stable. Which .net framework do they need ?

My application is a MFC/c++ dialog based app. I am thinking about using a "managed part" in my app for doing all

theses hooks, is that a (possible) good way to do this ?

thx in advance

Atic