title: Dynamic Symbol Retrieval Error: Win32 error 127 - even when importing self process
body: <p>The most basic example in node Foreign Function Interface is calling <code>atoi</code> by loading it from node's own process:</p>
  
  <pre><code>var ffi = require('ffi');
  
  var current = ffi.Library(null, {
    'atoi': [ 'int', [ 'string' ] ]
  });
  console.log(typeof current.atoi('1234')); // 1234
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>    throw new Error('Dynamic Symbol Retrieval Error: ' + this.error())
      ^
  
  Error: Dynamic Symbol Retrieval Error: Win32 error 127
      at DynamicLibrary.get (D:\web\node_modules\ffi\lib\dynamic_library.js:112:11)
      at D:\web\node_modules\ffi\lib\library.js:50:19
      at Array.forEach (native)
      at Object.Library (D:\web\node_modules\ffi\lib\library.js:47:28)
      at Object.&lt;anonymous&gt; (D:\web\native\winapi.js:5:19)
      at Module._compile (module.js:541:32)
      at Object.Module._extensions..js (module.js:550:10)
      at Module.load (module.js:458:32)
      at tryModuleLoad (module.js:417:12)
      at Function.Module._load (module.js:409:3)
  </code></pre>
  
  <p>Clearly it cannot be related to the 32/64bit incompatibility since I'm accessing my own process. So what's wrong exactly?</p>
  
  <ul>
  <li>Platform: Windows 7x64</li>
  <li>Node: v6.2.2</li>
  <li>ffi: 2.2.0</li>
  <li>ref: 1.3.3</li>
  </ul>