C++ keyboard hook CTRL key gets stuck
问题 I'm looking to rewrite ctrl + c and ctrl + v on my Windows 10 machine to add some additional functionality. I'm able to copy and paste correctly and have successfully created a keyboard hook to execute my code after these keys are pressed but I'm having an issue after I press ctrl while my program is running, ctrl continuously acts as if it's held down. Even after I terminate the program entirely, ctrl continues to act as if it's being held down until I logout of the computer entirely. What