Hi guys,
Im having trouble working the BlockInput(); command.
Here is my code:
It compiles and runs fine, but it will not block the mouse or keyboard.Code:#include <windows.h> #include <winable.h> #include <stdio.h> using namespace std; int main(){ Sleep(1000); BlockInput(true); Sleep(5000); BlockInput(false); return 0; }