iohook icon indicating copy to clipboard operation
iohook copied to clipboard

Japanese keyboard cause application crash

Open yuleizone opened this issue 5 years ago • 3 comments
trafficstars

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 2020317155347 IMG20200317_155420 2020317155514

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

yuleizone avatar Mar 17 '20 08:03 yuleizone

environment Node.js 12.18.3 Electron 11.1.1 iohook 0.7.2

has same case

Fental avatar Jan 12 '21 08:01 Fental

@Fental Can you provide more info please? A stacktrace or the particular error line without the trace?

ash0x0 avatar Jun 11 '21 20:06 ash0x0

@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.

Fental avatar Jun 28 '21 03:06 Fental