|
|
Hello, i try to compile your code and i execute your exe and the program can't send any caracter or command, when i press a button on the keyboard.
Can you help me?. I have Windows 7 64 bits, VS c# express 2010, Net 4.0
Best regards.
Jose Miguel.
|
|
|
|
I'm getting the same behavior, and also have the same configuration.
The keyboard is shown, I can change layouts and all that, but none of the keys are executed.
Any help?
Thanks,
Nelson Reis
|
|
|
|
Funny, I just stumbled across this project today and was asking myself the same question. Looks like changing the platform target to x86 is a quick work around. I'm guessing the following line doesn't work for 64bit processes? If anyone knows
a better fix than being force to run as a 32bit process, please respond.
hook = NativeWin32.SetWindowsHookEx(5 /* wh_cbt */, this.cbtCallbackDelegate, IntPtr.Zero, AppDomain.GetCurrentThreadId());
|
|