08-03-2011 04:14 PM - edited 08-03-2011 04:17 PM
Hello,
I hope someone has an idea where my fault is.
I tried to convert a character to a virtual keyboard key using
WINAPI functions
GetKeyboardLayout
http://msdn.microsoft.com/en-us/library/ms646296%28v=VS.85%29.aspx
and VkKeyScanEx
http://msdn.microsoft.com/en-us/library/ms646332%28v=VS.85%29.aspx
I have to call user32.dll. I think I made an mistake in configuring the Parameters of the dll call. The output is not correct. It does not change, when i change the input character ...
SHORT WINAPI VkKeyScanEx( __in TCHAR ch, __in HKL dwhkl );
I am using Windows 7 64 Bit.
Some ideas?
08-04-2011 03:34 PM
A friend helped me. It is solved ...