Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winax crashes when there is no ActiveX component installed in the system. Try catch do not help. #18

Closed
nickolayl opened this issue Nov 18, 2017 · 2 comments

Comments

@nickolayl
Copy link

Hi!

Thank you for the useful library.

Unfortunately I am experiencing troubles at runtime when trying to call to
var con = new ActiveXObject('MyRequiredActiveXComponentName');
My Electron application that uses node-activex crashes if MyRequiredActiveXComponentName does not installed on the client computer.
If I install and register the ActiveX component MyRequiredActiveXComponentName - things work well.

I tried to try catch the exception but the error seems to be not a JavaScript exception that I can catch. Catch simply never called. The Node process just crashes.

I am looking for the library update or the workaround. Is there any way to get the information whether the MyRequiredActiveXComponentName installed on that particular machine?

@durs
Copy link
Owner

durs commented Nov 19, 2017 via email

@nickolayl
Copy link
Author

@durs thanks! This worked well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants