Skip to content Skip to sidebar Skip to footer

Error With Ffi Module Node.js Uncaught Error: Dynamic Linking Error: Win32 Error 193

I want to call a function, which is written in 'C' DLL, from node.js JavaScript. I am using 'ffi' module in node.js and electron. The function which I want to call is 'int FDColor_

Solution 1:

It looks like that error means you have a 32/64 bit mismatch. You need to build the dll to match the loading process.


Solution 2:

I chose the 64-bit DLL and loaded it successfully


Post a Comment for "Error With Ffi Module Node.js Uncaught Error: Dynamic Linking Error: Win32 Error 193"