Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffi-napi #128

Closed
CHACCA165 opened this issue Jan 7, 2024 · 2 comments
Closed

ffi-napi #128

CHACCA165 opened this issue Jan 7, 2024 · 2 comments

Comments

@CHACCA165
Copy link

第一次接触electron,自己写好了测试dll,一直无法调用,这个版本到底要用多少的呀,我想用大佬的写好的样式和功能,也想调用dll,真的好难- -
在 electron22 版本以后,electron 官方开启了进程沙盒模式,这将导致 ffi-napi 不可用,如果要使用请注意您的 electron 版本

@mlmdflr
Copy link
Contributor

mlmdflr commented Feb 20, 2024

或许你可以尝试koffi

1708440872608
1708440794670

下面是代码仓库
demo仓库

@mlmdflr
Copy link
Contributor

mlmdflr commented Feb 20, 2024

koffi 的文档
https://koffi.dev/

@umbrella22 umbrella22 pinned this issue Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants