I am trying to run with Electron a C++ addon that links to the openssl library. When the C++ code tries to access the library I get an exception: Procedure not found. I found another similar question here, but I could not manage to make it work, as the original poster said it would. I tried to link to a static compiled library from here, specifically libeay32MT.lib but when running under Electron it still crashes.
In bindings.gyp I have the library added like this:
"-l$(OPENSSL_ROOT)/lib/libeay32MT.lib"
Any ideas how I can make this work?