LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WINAPI dll call

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?

 

0 Kudos
Message 1 of 2
(2,301 Views)

A friend helped me. It is solved ...

0 Kudos
Message 2 of 2
(2,274 Views)