Electron Uncaught Error: A dynamic link library (DLL) initialization routine failed

yushulx :

I've successfully built node.js addon, which works well with Node on Windows. Now, I want to create a Windows app using Electron. When loading the module in HTML file, I got the error:

var dbr = require('./build/Release/dbr');

enter image description here

Something wrong with ATOM_SHELL_ASAR.js. enter image description here

The issue only occurred on Windows. On Linux and Mac, it worked well.

How can I fix it?

Thanks!

Vadim Macagon :

You need to rebuild your native Node addon for Electron, the steps are outlined in the docs.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Architecturally what is the difference between a shared object (SO) and a dynamic link library (DLL)?

From

Calling Golang from Java using JNI on Windows leads to "A dynamic link library (DLL) initialization routine failed"

From Dev

FMUException: Error loading the binary. Could not load the DLL: A dynamic link library (DLL) initialization routine failed

From Dev

Electron running SQLlite 3 on Windows - A dynamic link library (DLL) initialization routine failed

From Python

Cannot import from pywinauto: ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed

From Dev

Dynamic link library in C

From Dev

Error while importing Tensorflow. A dynamic link library (DLL) initialization routine failed

From Dev

Compaq Visual Fortran 6.6, Dynamic-Link Library (DLL) and Module

From Dev

The ordinal 3283 could not be located in the dynamic link library libmysql.dll

From Dev

Can I force a dynamic library to link to a specific dynamic library dependency?

From Dev

Tensorflow : DLL load failed: A dynamic link library (DLL) initialization routine failed

From Dev

Pass function to dynamic link library

From Dev

webpacker Uncaught Error: Module build failed / Cannot find module 'babel-plugin-syntax-dynamic-import'

From Dev

Trying to use win32ui with pywin32 gives: A dynamic link library (DLL) initialization routine failed

From Dev

Pystan, Runtime error - Initialization failed

From Dev

Server library could not be loaded and the dynamic link library LIBPQ.dll

From Dev

Is it possible for multiple Dynamic Link Libraries (DLL) to share Thread Local Storage from a Static Library (LIB)

From Dev

Could not be located in dynamic link library php4ts.dll

From Dev

The procedure entiy [email protected] could not belocated in the dynamic link library jvm.dll

From Dev

VSTOInstaller.exe error 0x8007007F The procedure entry point GetFileVersionInfoExW could not be located in the dynamic link library VERSION.dll

From Dev

How can I link dynamic library depending on another dynamic library?

From Dev

Link Main error with library

From Dev

Failed to link with standard library

From Dev

Unable to link dynamic library in macOS

From Dev

The procedure entry point ... [email protected]@Qt3DRender ... could not be located in the dynamic link library ... *.dll

From Dev

C#: A dynamic link library (DLL) initialization routine failed

From Dev

How to fix this uncaught error in electron for mainrenderer?

From Dev

How to fix Java 15 JNI "UnsatisfiedLinkError: A dynamic link library (DLL) initialization routine failed"

From Dev

Link to a dynamic link library in a cmake project

Related Related

  1. 1

    Architecturally what is the difference between a shared object (SO) and a dynamic link library (DLL)?

  2. 2

    Calling Golang from Java using JNI on Windows leads to "A dynamic link library (DLL) initialization routine failed"

  3. 3

    FMUException: Error loading the binary. Could not load the DLL: A dynamic link library (DLL) initialization routine failed

  4. 4

    Electron running SQLlite 3 on Windows - A dynamic link library (DLL) initialization routine failed

  5. 5

    Cannot import from pywinauto: ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed

  6. 6

    Dynamic link library in C

  7. 7

    Error while importing Tensorflow. A dynamic link library (DLL) initialization routine failed

  8. 8

    Compaq Visual Fortran 6.6, Dynamic-Link Library (DLL) and Module

  9. 9

    The ordinal 3283 could not be located in the dynamic link library libmysql.dll

  10. 10

    Can I force a dynamic library to link to a specific dynamic library dependency?

  11. 11

    Tensorflow : DLL load failed: A dynamic link library (DLL) initialization routine failed

  12. 12

    Pass function to dynamic link library

  13. 13

    webpacker Uncaught Error: Module build failed / Cannot find module 'babel-plugin-syntax-dynamic-import'

  14. 14

    Trying to use win32ui with pywin32 gives: A dynamic link library (DLL) initialization routine failed

  15. 15

    Pystan, Runtime error - Initialization failed

  16. 16

    Server library could not be loaded and the dynamic link library LIBPQ.dll

  17. 17

    Is it possible for multiple Dynamic Link Libraries (DLL) to share Thread Local Storage from a Static Library (LIB)

  18. 18

    Could not be located in dynamic link library php4ts.dll

  19. 19

    The procedure entiy [email protected] could not belocated in the dynamic link library jvm.dll

  20. 20

    VSTOInstaller.exe error 0x8007007F The procedure entry point GetFileVersionInfoExW could not be located in the dynamic link library VERSION.dll

  21. 21

    How can I link dynamic library depending on another dynamic library?

  22. 22

    Link Main error with library

  23. 23

    Failed to link with standard library

  24. 24

    Unable to link dynamic library in macOS

  25. 25

    The procedure entry point ... [email protected]@Qt3DRender ... could not be located in the dynamic link library ... *.dll

  26. 26

    C#: A dynamic link library (DLL) initialization routine failed

  27. 27

    How to fix this uncaught error in electron for mainrenderer?

  28. 28

    How to fix Java 15 JNI "UnsatisfiedLinkError: A dynamic link library (DLL) initialization routine failed"

  29. 29

    Link to a dynamic link library in a cmake project

HotTag

Archive