3 ms·
So do apps silently break or does the OS show a warning that “App Acme 1.0 attempted to use a global keyboard hook do you want to allow it?” at the point where
by alkonaut 4y ago
So do apps silently break or does the OS show a warning that “App Acme 1.0 attempted to use a global keyboard hook do you want to allow it?” at the point where the app makes the specific api call?
Fundamentally I guess it’s just a difference in philosophy in Windows. They basically say that “if it worked under Win32 20 years ago then it also works in Win32 20 years into the future, even if the behavior is an obvious bug”. Microsoft obviously release newer frameworks (UWP/Store/..) which allow for new restrictions, but few seem to want to give up access to the core platform and it’s unlikely to change.
The UAC system introduced a way of adding permissions with compatibility by popping up permission dialogs when required. But it doesn’t seem feasible to do for input hooks for example (I could be wrong here).