-
Notifications
You must be signed in to change notification settings - Fork 62
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
Question: Can this be used to embed activex control in electron application? #15
Comments
No, it will not work. |
I've been trying to develop a package for Atom that uses this module, but since Atom is built on Electron, does that mean it's impossible? Is there any workaround? I'm pretty new to Javascript/node/electron so I just wanted to ask. Thanks! |
Need rebuild with current electron version nodejs, see tutotrial
https://github.com/electron/electron/blob/v0.37.2/docs/tutorial/using-native-node-modules.md#using-native-node-modules
and comments may be useful
#5
2017-11-29 1:07 GMT+03:00 Kyle Barron <notifications@github.com>:
… I've been trying to develop a package for Atom that uses this module, but
since Atom is built on Electron, does that mean it's impossible? Is there
any workaround?
I'm pretty new to Javascript/node/electron so I just wanted to ask.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjGNZQCjLCBh-QAJNo5g3YOa5zm8b8yks5s7IQxgaJpZM4PAGHx>
.
|
Even after rebuilding with the current electron version, it's not working from node. My node version is
But then in node,
Rebuilding the modules with
And when I run
Any ideas? Thanks for your help! |
I got the package to load in node in the terminal, and now when I try to load the module in Electron, I get the error
I rebuilt the winax module, and I'm trying to follow #5, but it's not working. The result of
|
The Mocha test failed because "provider cannot not be found"
See ado.js and try replace
Provider=Microsoft.ACE.OLEDB.12.0
with
Provider=Microsoft.Jet.OLEDB.4.0
2017-12-04 23:24 GMT+03:00 Kyle Barron <notifications@github.com>:
… I got the package to load in node in the terminal, and now when I try to
load the module in Electron, I get the error
Uncaught Error: A dynamic link library (DLL) initialization routine failed.
I rebuilt the winax module, and I'm trying to follow #5
<#5>, but it's not working.
The result of mocha test\ado.js is below:
C:\Users\Kyle\github\atom\stata-exec\node_modules\winax>mocha test\ado.js
Scripting.FileSystemObject
√ create
√ create data folder if not exists
√ delete DBF file if exists
ADODB.Connection
1) create and open
2) create and fill table
3) select records from table
√ loop by records
Release objects
√ release: 2
√ double release: 0
√ try call: FAILED (DispNull)
7 passing (14ms)
3 failing
1) ADODB.Connection
create and open:
Error: DispInvoke: Open Provider cannot be found. It may not be properly installed.
at Context.<anonymous> (test\ado.js:38:13)
2) ADODB.Connection
create and fill table:
Error: DispInvoke: Execute Operation is not allowed when the object is closed.
at Context.<anonymous> (test\ado.js:44:17)
3) ADODB.Connection
select records from table:
Error: DispInvoke: Execute Operation is not allowed when the object is closed.
at Context.<anonymous> (test\ado.js:54:26)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjGNbDrgmqvsw551exzgrquftaShtOWks5s9FUWgaJpZM4PAGHx>
.
|
Before I go down the rabbit hole I wanted to see if you think this was possible. Since Electron is built on Chrome and Chrome doesn't support ActiveX I am thinking it is not possible.
Thanks!
The text was updated successfully, but these errors were encountered: