I tried so many things,
Can you give one right example using VK_NUMPAD1 ?
About the GetWindowThreadProcessId() and FindWindow(), I already know how to use.
EDIT: I tried to use SendInput...
Type: Posts; User: Loose
I tried so many things,
Can you give one right example using VK_NUMPAD1 ?
About the GetWindowThreadProcessId() and FindWindow(), I already know how to use.
EDIT: I tried to use SendInput...
I think the problem is with ifstream,
Fix:
I tried to help, but I dont know much about ifstream, I mix so much C with C++, in my codes I prefer to read files in C and use fread, much...
I want to know if its possible to send keystrokes only to determined process, in my program Im using :
Its working perfectly, but I want to send keystrokes even if the process is minimized.
...
How can I leave the user to input a value for this variable:
If declare the value when I compile everything works fine, like this: