node-activex icon indicating copy to clipboard operation
node-activex copied to clipboard

Can arguments be passed to COM application when it is launched through ActiveXObject?

Open phtag opened this issue 5 years ago • 1 comments

I need to launch a COM application in headless mode on my node.js server. This is normally done by passing two arguments when starting the process. Can Winax be modified to allow arguments to be passed when the COM application object is instantiated?

Peter

phtag avatar Dec 13 '19 21:12 phtag

the process does not start directly, used api call CoCreateInstance https://docs.microsoft.com/ru-ru/windows/win32/api/combaseapi/nf-combaseapi-cocreateinstance

you can start com process separately and then attach using "activate" option

сб, 14 дек. 2019 г. в 00:05, Peter H. Tag [email protected]:

I need to launch a COM application in headless mode on my node.js server. This is normally done by passing two arguments when starting the process. Can Winax be modified to allow arguments to be passed when the COM application object is instantiated?

Peter

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/durs/node-activex/issues/59?email_source=notifications&email_token=AAEMMNNLREX3FFUSKZP5GBLQYP2JPA5CNFSM4J2WFETKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAN2SRA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMMNLTLV6PPLFBA7JEG3DQYP2JPANCNFSM4J2WFETA .

durs avatar Dec 15 '19 15:12 durs