The Virtual Key Codes is an "Interger" and not a "String"
Notice the "(int vKey)"?
That is a great way or using VS as your advantage.
Hi,
I have a problem. I made a system that imports config settings from a file into to strings. The config contains keys like: "VK_CONTROL".
Normaly you use this code
Now my code needs to beCode:if(GetAsyncKeyState(VK_CONTROL) &1)
But this returns an error.Code:String Key1="VK_CONTROL" if(GetAsyncKeyState(Key1) &1)
Someone knows how to make this work?
Tnx!
Znoen,![]()
The Virtual Key Codes is an "Interger" and not a "String"
Notice the "(int vKey)"?
That is a great way or using VS as your advantage.
Last edited by ERGaergaergaergaergearg; 08-01-2014 at 07:19 PM. Reason: Failed a bit with picture :)
Problem solved. Thanks to @gresan6
JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM JHEM AAAAAAAAAAAAALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLTTTTTT TTTTTTTTTTTTTTTTTT