title: Unable to load some native node js modules with electron 4.0.6 on Windows
body: <p>I am trying to upgrade my application from electron 1.8.1 to 4.0.6. I am using multiple native node js modules. They all compile successfully (or prebuilt binaries are available).</p>
  
  <p>I am getting following error when requiring one of the modules.</p>
  
  <pre><code>XXXX\node_modules\electron-log\renderer.js:34 [10:14:51.109] Failed to add 
  module. Error: Error: The specified procedure could not be found.
  \?\XXXXX\node_modules\pc-ble-driver-js\build\Release\pc-ble-driver-js- 
   sd_api_v2.node
  </code></pre>
  
  <p>Whereas other native modules (such as serialport, noble-uwp) are loading and working fine.</p>
  
  <p>This error generally indicates that a required DLL is missing. I have used Dependency Walker (<a href="http://www.dependencywalker.com/" rel="nofollow noreferrer">http://www.dependencywalker.com/</a>) to check the dependencies but I couldn't nail down the error. I tried to compare dependencies for module that works and the one for which I get above error. I didn't see obvious differences. </p>
  
  <p>I have Visual Studio 2015 installed. I also have VC++ 2015 redistributable installed.</p>
  
  <p>My electron specific dependencies are:</p>
  
  <pre><code>"devDependencies": {
      "electron": "~4.0.6",
      "electron-builder": "~20.39.0",
      "electron-rebuild": "^1.8.4"
  },
  </code></pre>
  
  <p>I am using node-js 10.15.3.</p>
  
  <p>I have noticed that till electron 3, node_modules/electron/dist had many DLLs present. These DLLs are not present with electron 4. </p>
  
  <p>Are any additional dependencies needed to be installed for native modules to work with electron 4?</p>