iohook
iohook copied to clipboard
Japanese keyboard cause application crash
Expected Behavior
Application should not crash
Current Behavior
current keyboard is japanese,when starts the application,then crash
Possible Solution
switch to other language keyboard,for example : simple chinese keyboard
Steps to Reproduce (for bugs)
On windows 10 open 'Settings'. Select 'Time & Language'.
1.switch to japanese keyboard

click the apllication to start ,then crashes.
Your Environment
Node.js 10.11.0 Chromium 69.0.3497.128 Electron 4.0.8 iohook 0.6.5
environment Node.js 12.18.3 Electron 11.1.1 iohook 0.7.2
has same case
@Fental Can you provide more info please? A stacktrace or the particular error line without the trace?
@ash0x0 In my case, my application did not crash and I did not have any error log about it. If I require iohook in my Application. It get stuck and failed to respond when I launch it.
I tried to solve this by myself. When I deleted the following code, everything is OK.
https://github.com/wilix-team/iohook/blob/master/libuiohook/src/windows/input_helper.c#L556 https://github.com/wilix-team/iohook/blob/master/libuiohook/src/windows/input_helper.c#L649
I hope that my information can help you.