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?
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.