Page 1 of 1

GlobalHooks don't receive notifications if keyboard captured

Posted: 21. Jun 2009, 21:50
by Soulatial
On the host I have a programm running counting the number of keystrokes. I do this with a GlobalHook.
I noticed that this programm doesn't count anything when I type into any window of a virtual OS when the keyboard is captured by that virtual OS. That also happens with installed GuestAdditions.

So I'm curious how does VirtualBox prevent the GlobalHook getting the keystrokes? That might be an interesting point fighting keyloggers.

Thanks for your answers.