opened
BlazingFire007
username_0
Using this code:
```js
const ioHook = require('iohook');
 
ioHook.on("mousemove", event => {
  console.log(event);
});
 
ioHook.start();
```
I get this error:
```js
module.js:598
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: The specified module could not be found.
\\?\C:\Users\Eli\Desktop\!NODEJS\node_modules\iohook\builds\node-v51-win32-x64\build\Release\iohook.node
    at Object.Module._extensions..node (module.js:598:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\Eli\Desktop\!NODEJS\node_modules\iohook\index.js:16:21)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
```
Doesn't work on Windows 10 x64
issue
created
Djiit
username_1
Hi there, could you please specify your node/npm/yarn version so we can help ?
comment
created
BlazingFire007
username_0
@username_1 Node 7.7.4 NPM 4.1.2
comment
created
Earl-Brown
username_2
I'm getting the same issue with NPM 4.0.5 and node 7.4.0.  The file exists, so I'm guessing there's probably a load issue.  Perhaps it's compiled for 32-bit and the attempt is to load it into a 64-bit OS?
comment
created
xobotyi
username_3
Same stuff.

Node: 8.6.0

During build had one warning:
`"C:\Users\a.zinoviev\Desktop\iohook-master\build\ALL_BUILD.vcxproj" (целевой объект по умолчанию) (1) ->
"C:\Users\a.zinoviev\Desktop\iohook-master\build\iohook.vcxproj" (целевой объект по умолчанию) (8) ->
(Целевой объект ClCompile) ->
  C:\Users\a.zinoviev\.cmake-js\node-x64\v8.6.0\include\node\node.h(625): warning C4251: 'node::CallbackScope::try_catch_': class 'v8::TryCatch' needs to have dll-interface to be used by clients of class 'node::
CallbackScope' [C:\Users\a.zinoviev\Desktop\iohook-master\build\iohook.vcxproj]

    Предупреждений: 1
    Ошибок: 0`
comment
created
xobotyi
username_3
Quick solution:
Sut the uiohook.dll near the iohook.node file. Solved problem for me
comment
created
Earl-Brown
username_2
Where do I find uiohook.dll?
comment
created
xobotyi
username_3
@username_2 in the build directory. i'm building iohook on my own for Windows.
comment
created
Earl-Brown
username_2
Ah...do you have instructions for doing that?  I didn't see any in the readme.
comment
created
xobotyi
username_3
buld will be at iohook/build/Release directory
comment
created
Earl-Brown
username_2
I'll have to try that.  Probably take a while because of setup stuff.  Do you think that would build for Node 8+?
comment
created
tobeorla
username_4
@username_2 did you succeed? could you share the resulting .dll?
comment
created
Djiit
username_1
Hi @username_2 , could you elaborate on the alternative you found ?

Thanks !
comment
closed
WilixLead
username_5
issue