~NextGen1
[php] <DllImport("user32.dll", CharSet:=CharSet.Auto, setLastError:=True)> _
Public Function GetAsyncKeyState(ByVal vKey As Integer) As Short
End Function
Public Function GetAsyncKeyState(ByVal vKey As Int32) As Int16
[/php]
I resolved the issue on another thread.
Use the above when working with 64 bit systems.
I placed it here so everyone knows the resolution.
now marked solved.
Avoid posting in it unless necessary and under 7 days
[php] <DllImport("user32.dll", CharSet:=CharSet.Auto, setLastError:=True)> _
Public Function GetAsyncKeyState(ByVal vKey As Integer) As Short
End Function
Public Function GetAsyncKeyState(ByVal vKey As Int32) As Int16
[/php]
I resolved the issue on another thread.

Use the above when working with 64 bit systems.
I placed it here so everyone knows the resolution.
now marked solved.
Avoid posting in it unless necessary and under 7 days