Problems when injecting DLL with Node.js

Asked

Viewed 19 times

0

I am trying to inject a dll into my Node.js application but can’t progress would like to know if anyone can help me?

Application code

var edge = require('edge-js');

    var Dtef = edge.func({
        assemblyFile: 'C:/DPOS8/Bin/DPOSDRV.dll',
        typeName: 'Integer',
        methodName: 'TransacaoCartaoDebito'
    });

Error while executing

Error: Não foi possível carregar arquivo ou assembly 'file:///C:\DPOS8\Bin\DPOSDRV.dll' ou uma
de suas dependências. O módulo deveria conter um manifesto de assembly.
    at Object.exports.func (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\edge
-js\lib\edge.js:178:17)
    at Object.pdv.pagamento (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\api\pages\loja\p
dv.js:21:21)
    at F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\api\routers\pdv.js:32:31
    at Layer.handle [as handle_request] (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node
_modules\express\lib\router\layer.js:95:5)
    at next (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\express\lib\router\
route.js:137:13)
    at Route.dispatch (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\express\l
ib\router\route.js:112:3)
    at Layer.handle [as handle_request] (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node
_modules\express\lib\router\layer.js:95:5)
    at F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\express\lib\router\index.
js:281:22
    at Function.process_params (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\
express\lib\router\index.js:335:12)
    at next (F:\fabio\EasyPHP\data\localweb\siscorpGIT\appNode\node_modules\express\lib\router\
index.js:275:10)

I thank you in advance

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.