durs / node-activex

Node.JS Implementaion of ActiveXObject
MIT License
329 stars 62 forks source link

Error: Loading non-context-aware native module in renderer #81

Closed stilettk closed 4 years ago

stilettk commented 4 years ago

After upgrading to Electron 9 i got the following error:

Error: Loading non-context-aware native module in renderer: '\\?\C:\Users\n.batov\AppData\Local\Temp\71a34dbd-f541-4157-a9e1-760b29018219.tmp.node', but app.allowRendererProcessReuse is true. See https://github.com/electron/electron/issues/18397.

I can change app.allowRendererProcessReuse to false, but it is said that in Electron v11 I shouldn't be able to use node-activex in it's current state.

durs commented 4 years ago

Hi, try the latest version 1.20

stilettk commented 4 years ago

Wow, that was fast! Yeah, it's working, thank you!