rvknth043 / Global-Low-Level-Key-Board-And-Mouse-Hook

A simple description and sample of creating a global low level keyboard And Mouse hook in C#
MIT License
143 stars 38 forks source link

Tried to use Mouse and Keyboard hooks in Windows Service - No event throws #6

Open tajuddinkhandaker opened 6 years ago

tajuddinkhandaker commented 6 years ago

I have installed the hooks at OnStart() and uninstalled the hooks at OnStop(). Is that right way to do it in my case? If so it's not calling any event back.

Chaliapine commented 3 years ago

Hooks are not working in windows services due to security and as I remember it's impossible to change