Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an existing eventful COM (Component Object Model) binding for nodeJS [closed]

I have a client who interfaces the IRIS Exchequer accountancy suite via the Windows Component Object Model(COM). I'm re-writing their existing Exchequer integration layer and would like to replace this with a non-blocking RESTful service in Express. I've done an npm search and some googles, but cannot seem to find any bindings which will directly interface COM.

Is there such a module out there and, if not, how would one set about implementing such a module?

like image 857
Raf Gemmail Avatar asked Nov 04 '12 10:11

Raf Gemmail


People also ask

Is component object model still used?

COM is still in wide use today, although it's considered an older cousin to the . NET Framework. Many technologies you rely on, and use with PowerShell, are still based on COM.

How do I pause a NodeJS process?

So to pause for a specific time we use the setTimeout() function.

What is the node LTS version?

LTS version is an abbreviation of the Long Time Support version where the release of the software is maintained for a more extended period of time. The LTS version is commonly recommended for most users. In Node. js, new versions frequently come with more features, optimized performance, and bug fixes.


1 Answers

I know this is an old question, but I was searching for the answer even in 2020. Thankfully, it seems there are more options now. For example, this article talks about it. It's using this (very old) module: https://github.com/idobatter/node-win32ole

There's another newer one called winax: https://github.com/durs/node-activex

I also stumbled across https://www.npmjs.com/package/activex/ but it appears quite stale and says "Under development. Do not use!"

I haven't actually tried any of these yet, but winax looks the most promising.

like image 59
jacobq Avatar answered Oct 11 '22 00:10

jacobq