How to reference VB6 dll from NodeJS project?

I’m trying to reference vb6 dll from NodeJS:

var http = require('http'); var ffi = require('ffi'); var ref = require('ref'); var int = ref.types.int;  var libAdd = ffi.Library('./Project1.dll', {   'AddNumbers': [ int, [ int, int] ] });  http.createServer(function (req, res) {   res.writeHead(200, {'Content-Type': 'text/html'});   res.write(libAdd.AddNumbers(1985, 6784));  }).listen(8080); 

but I’m getting the error: Dynamic Symbol Retrieval Error: Win32 error 127

How should I reference