nodejs / node-addon-api

Module for using Node-API from C++
MIT License
2.19k stars 462 forks source link

Uncaught Error: A dynamic link library (DLL) initialization routine failed. #727

Closed yerkeyzet closed 3 years ago

yerkeyzet commented 4 years ago

Hi Team,

We are getting "A dynamic link library (DLL) initialization routine failed" with node-rfc NAPI module in Electron, on Windows 10. The module works just fine without Electron.

Environment is: Windows 10 electron 8.2.5 electron-rebuild 1.10.1 node 12.13.0 npm 6.12.0

Reproducible with require('node-rfc') step in preload.js of electron-quick-start example.

mhdawson commented 4 years ago

@codebytere, any suggestions?

codebytere commented 4 years ago

@yerkeyzet could you perhaps provide a more thorough reproducible sample?

yerkeyzet commented 4 years ago

I prepared thorough steps on a pure Win10 virtual machine, to guarantee that it is reproducible anywhere. But it needs a sapnwrfc.dll library file from SAP Software Download Center.

@bsrdjan is it ok to share sapnwrfc.dll file from SAP NW RFC SDK here?

bsrdjan commented 4 years ago

@yerkeyzet, sharing nwrfcsdk is not permitted, only for sap customers/partners. Are you maybe SAP or SAP customer/partner employee?

@codebytere, please find more details here: https://github.com/prebuild/prebuild/issues/269

yerkeyzet commented 4 years ago

I am an SAP customer employee and I have access to this lib. Just wondered if we could provide it here to reproduce the issue.

bsrdjan commented 4 years ago

Let see the progress with these two tickets. You can also reach me via Email in my GH profile or via LinkedIn, to check if more support could be provided by SAP.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

bsrdjan commented 3 years ago

Please feel free to close this ticket and continue with this feature request: https://github.com/SAP/node-rfc/issues/144#issuecomment-717219893

mhdawson commented 3 years ago

@bsrdjan thanks, closing.