You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
I am trying to call a C# dll in the renderer process using electron-edge. The following code works when i call it directly from the renderer.js file, but when i pass the "integration" variable to angular, and angular calls it later on, i get the error at the bottom.
I dont know how the behaviour of calling it from the renderer process or from angular might cause a difference.
Does anyone has some ideas?
var elec = require('electron');
var edge = elec.remote.require('electron-edge')
var csharpInvoke = edge.func({
assemblyFile: '../Shared/bin/Debug/Shared.dll',
});
var csharpProxy = csharpInvoke(null, true);
var integration = csharpProxy.createIntegration(null, true);
console.log(integration);
console.log(integration.getChildren('ROOT', true)); // Works! but when called from angular, doesnt!
Full stackstrace
Error: No such module: atom_common_app
at Error (native)
at process.atomBinding (C:_Data\Repositories\sleek-application\Client\node_modules\electron\dist\resources\electron.asar\common\init.js:8:22)
at Object. (C:_Data\Repositories\sleek-application\Client\node_modules\electron\dist\resources\electron.asar\browser\api\app.js:3:26)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
I am trying to call a C# dll in the renderer process using electron-edge. The following code works when i call it directly from the renderer.js file, but when i pass the "integration" variable to angular, and angular calls it later on, i get the error at the bottom.
I dont know how the behaviour of calling it from the renderer process or from angular might cause a difference.
Does anyone has some ideas?
Full stackstrace
The text was updated successfully, but these errors were encountered: