Global keyboard hook with C++
问题 I've already saw many tutorials and articles about hooking, yet I don't quite understand it. Mainly because every single example uses different solution. I know I will have to implement something that will keep the hook alive. Usually it's some kind of while cycle. Q1: If this loop was in some class with callbacks, will it prevent the thread from executing them? I know it will take a while, but I would highly appreciate some well explained example of global keyboard hook. Or simply link me to