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
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?
The text was updated successfully, but these errors were encountered:
It's very strange, for test run javascript:
var test;
try {
test = new ActiveXObject('la-la-la');
}
catch(e) {
console.log('Exception: ' + e.message);
return;
}
Result
*Exception: CreateInstance: la-la-la Invalid class string*
2017-11-19 1:04 GMT+03:00 nickolayl <notifications@github.com>:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjGNQe09nK-0-ZriSsKX3VkQFIQsDiyks5s31R0gaJpZM4QjKtN>
.
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?The text was updated successfully, but these errors were encountered: