Hello! How would I use SetWindowsHookEx on an external program to monitor windows messages? I've tried various code I've found using SetWindowsHookEx (ie: keyboard hooks, etc), and none of it works.

What do I do?