I only have C console programming experience.
But i would like to make a .dll that i can put in my c:\windows\system32 folder.

As everytime i open my calculator my numlock goes off.

I would like the .dll to start when calculator is opened, wait for 2 seconds, then check if the numlock key is active, if it isn't press it down.

I have been looking up info about global hooks, but can't seem to make heads or tails of it.

Anyone have some ideas or code they can through at me?

Thanks.

I use Borland C++ 3 Biulder on Win XP