Marcel Blum
Marcel Blum
Update: looks like it's working fine in all Node versions = 14.x. Appears to be a Windows Node 14+ only issue.
@bomeers I think that info is out of date for Windows since this proj doesn't use cmake anymore. If you installed Node.js with the "install tools for native modules" box...
@bomeers sounds like maybe you didn't do a full `npm install` from iohook's root before `npm run build`?
ok i think i see the problem you are trying to build from the files that come down the pipe when you `npm install iohook` but that doesn't include the...
@bomeers no - you'd need to copy 2 files that you just built `iohook.node` and `uiohook.dll` (created in `build`) into your other project's `node_modules\iohook\builds\node-v[WhateverVersionYouBuiltFor]-win32-x64\build\Release`
@bomeers sorry to disappoint but I haven't yet been able to get latest iohook 0.7.2 working with Node v.15 (ABI 88) on Windows. Rereading the above, I think what @TheMrGong...
@manpreet981 iohook ended support for 32 bit Linux so there is no prebuild for that platform. You can try compiling manually or use an older version of iohook.
The problem is lack of cleanup, doing `location.reload()` or advancing to any different html page crashes, and doing `iohook.unload()` often crashes.
You can see my experiments towards this end at https://github.com/marcelblum/iohook but I didn't get very far and ended up needing to use Electron pre-v14 anyway.
I'm not sure, I probably don't have the c++ expertise to solve this, but like I said you can see what progress I made towards it in my fork. If...