Hi, I have a little problem with getkeystate. So I have file with 2 keys in constant format. I read this words in 2 string but I cannot use it in getkeystate(str) or what is the way to convert the key to hexadecimal?
But I have in file keys in word format .. is there any way to convert word to number which matches the format in the command? Is there a feature on this?
Wish I had time to provide an example, but I don't right now. Note GetKeyState is an unusual WinApi function. Most WinApi functions return a success/failure code. GetKeyState returns a number which you must decode using 'masks' to determine the information you want. Study up on AND masks and OR masks.