-
**开发环境: vite@3.0.5 electron@23.1.1 , node@16.14.2, python@2.7.15, ffi-napi@4.0.3 , ref-napi@3.0.2**
ps:都已通过node-gyp rebuild 且文件已经生成
`const ffi = require("ffi-napi");`
只要使用此方式引入…
-
Is it possible to run this project on a windows machine?
My Node version is 14.19.0
My python version is 3.7.9
Is it possible to run it in windows in a node environment? Can someone guide me on…
-
code:
```
var user32 = new ffi.Library('user32', {
GetWindowThreadProcessId: ['long', ['long', 'pointer']],
EnumWindows: ['bool', ['pointer', 'long']],
});
const callback = new ffi.Callback(…
-
Hello. I'm trying to build the project with Docker and there is an error on `wastime` compilation.
I was following instructions from README.md
Part of the log:
```
16 46.5M 16 7790k 0 …
-
### What is the problem this feature will solve?
Call foreign functions
### What is the feature you are proposing to solve the problem?
the API is provided directly by node, without the help …
-
Greetings Everybody!
I have library on linux.
That library have struct.
Manual of this library says that struct must be initialized, like this:
```
LONG lUserID;
NET_DVR_DEVICEINFO_V30 s…
-
当我执行 node-gyp rebuild命令的时候,出现如下异常,请问大佬们有解决方案吗?
E:\test\node-ffi-napi>node-gyp rebuild --verbose
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'D:\\tool\\nvm_link\\node.exe',
g…
-
```
[REDACTED PROJECT PATH]> npm i vosk
npm ERR! code 1
npm ERR! path [REDACTED PROJECT PATH]\node_modules\ffi-napi
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c n…
-
## Background
Imagine a class statement written from external JS.
```js
// rescript_error.mjs
export class RescriptError extends Error {
constructor(exnId, payload) {
super();
}
}
…
-
Please archive this repo in favor of https://koffi.dev and/or [node-ffi-rs](https://github.com/zhangyuang/node-ffi-rs/blob/master/README.md) because installation tests on this repo fail on:
* Windows…