novowi
asked on
How to use the GetKeyState function.
Hi,
I am in dispair. I have tried to use the GetKeyState function but it gives me the error 'Actual parameter not matching formal var parameter. Here an fragment of my code:
var
KeyStateBuf:TByteArray;
pKeyStateBuf:PByte;
begin
pKeyStateBuf:=addr(KeyStat eBuf);
GetKeyStateBuf(pKeyStateBu f);
end.
This doesn't work and I don't know why. Could anybody give me a solution for that terrific problem, please !!
Thanks a lot.
Oli
I am in dispair. I have tried to use the GetKeyState function but it gives me the error 'Actual parameter not matching formal var parameter. Here an fragment of my code:
var
KeyStateBuf:TByteArray;
pKeyStateBuf:PByte;
begin
pKeyStateBuf:=addr(KeyStat
GetKeyStateBuf(pKeyStateBu
end.
This doesn't work and I don't know why. Could anybody give me a solution for that terrific problem, please !!
Thanks a lot.
Oli
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.