In one of our solutions we are finding that nwjs can be the correct tech to be used. However I am facing a problem and not able to resolve it after trying several things.
Problem/Requirement: We want to invoke native DLL (c#) APIs from the NWJS scripts, as this DLL is interacting with the OS libraries.
Suggestion required : What can be the best way to interact with C# Dlls in NWJS eco system.?
Approaches which I tried
1) Used edge-js node module.
Problem: To use this module in NWJS I need to re-build the module with nw-gyp but it's failing. Problem described at
2) NaCL: Tried NWJS <--> NaCL <--> c++ <--> C#. C# integration yet to integrate.
Problem: Got from documentation that NaCL would be getting deprecated in future.
3) Standalone process: C# process/ Node Process which loads C# dll using edge-js. NWJS interacts with this process through streams/other message bus.
Problem: Process management has to be done by us, which is an overhead for us.
Would like to know your thoughts on the same, your suggestions would be of great help.
Thanks in Advance !!!