I've done a bit of searching and have found a few implementations using a wrapped unmanaged .dll but haven't had any luck actually getting them to work. Such as here where I get a failure on pinvoke when attempting to initialize the hook. I used depends to check the dll and recompiled the dll myself (source was include) but no dice.
I'd rather not use a timer and my last resort would be to just implement it in C++ but wanted to see if someone knew of a library of sorts (similar to what I've found but something that works) that will get me what I want.
Thanks.