Giter Site home page Giter Site logo

node-activex's People

Contributors

alexeygrinevich avatar cupidazul avatar daniel-userlane avatar durs avatar pbardov avatar simonfischer04 avatar somanuell avatar wkuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-activex's Issues

Converting JavaScript array to Variant()

Hello!
This example doesn't seem to work.

`let excel = new ActiveXObject("Excel.Application", { activate: false })
excel.Visible = true
let workbook = excel.Workbooks.Add()
let sheet = workbook.Worksheets.Item(1)

// Method 1
// not working
let range = sheet.Range("A1")
range = range.Resize(1, 4)
range.Value = 1 // works
range.Value = [1, 2, 3, 4] // error

// Method 2
// dict.Items returns Variant()
// works in vba
var dict = new ActiveXObject("Scripting.Dictionary")
dict.Add("0", 0)
dict.Add("1", 1)
dict.Add("2", 2)
dict.Add("3", 3)

sheet.Range('A2').Resize(1, 4).Value = dict.Items // Error`

How to set Excel.Range(..).Value to variable of 'Variant()' type ?
Unless it is this way the script works very slowly.
As i understand Excel.Range(..).Value gets Variant() and converts it into SAFEARR.
Maybe this error occurs because your library lacks function arrayToVariant()?

Is winax entirely blocking and synchronous?

I'm aware that @durs is working on an asynchronous feature, but is that the reason why I can't control several COM objects in parallel?

I was almost done with my MVP when I noticed that running several instances of my application worked sequentially rather than simultaneously (one-by-one); even when wrapping it in promises or callbacks.

The only solution I found was to run several processes. Why did that work exactly?

I'm currently designing a multi-process approach as a workaround, but I'd like confirmation that this is really the case and not some design flaw on my async or VM implementation.

@durs thank you for creating this awesome tool, I hope you could help me out in one way or another.

If you want to know the application in question, I'll gladly share it privately. Not really sure if I could freely disclose it.

Thanks again!

Using existing activeXObject

I'm trying to use opened instance of Excel, but didn't find a way to do it with this library. Is it supported? If yes, please provide example :)

Please, update NODE_MODULE_VERSION for Electron above 4.0.3

When using Electron above 4.0.3, an error occurs.

Error: The module '\\? \C:\project\node_modules\winax\build\Release\node_activex.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 69.

Electron uses NODE_MODULE_VERSION 69 since version 4.0.4, npm rebuild winax --runtime = electron --target = 4.0.4 (and higher) does not take this into account. Please fix it.

win32

Winax is not a valid 32-bit application。

Can you support both 32-bit and 64-bit?

Issue with VARIANT_BOOL

I am using winax to access a VBA macro in excel after calling

oXL = new winax.Object('Excel.Application');
oXL.Run('MyWorkbook.xla!MyMacro', parameter);

The problem i see is that inside the VBA macro, a C++ dll is called that returns a variant bool. In c++ the true value for this is represented a short with value -1

the MyMacro function returns a vba type of boolen however the result comes from the C++ dll and it comes back as false in javascript even though the vba function returns true.

I have a workaround that instead of returning the value of the c++ call directly, check if it is true then then return true. For example:

Public Function MyMacro() as Boolean
        MyMacro=cppObject.Result()
End Function

becomes

Public Function MyMacro() as Boolean
    If cppObject.Result() then
        MyMacro=True
    Else
        MyMarco=False
    End If
End Function

However this may be coming up a lot. Is there any way to handle this case within winax itself?

err in electron-vue on windows

i required 'winax' in electron-vue on windows,and it threw an err that "can not find module './build/Release/node_activex"

Electron build error on v1.12.0

$ npm rebuild winax --runtime=electron --target=2.0.18 > [email protected] install C:\Users\86186\project\factory-test\node_modules\winax > node-gyp rebuild main.cpp utils.cpp disp.cpp win_delay_load_hook.cc c:\users\86186\project\factory-test\node_modules\winax\src\disp.cpp(453): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\Us ers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] c:\users\86186\project\factory-test\node_modules\winax\src\utils.cpp(286): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\U sers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] c:\users\86186\project\factory-test\node_modules\winax\src\disp.cpp(505): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\Us ers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] c:\users\86186\project\factory-test\node_modules\winax\src\disp.cpp(561): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\Us ers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] c:\users\86186\project\factory-test\node_modules\winax\src\disp.cpp(739): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\Us ers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] c:\users\86186\project\factory-test\node_modules\winax\src\disp.cpp(920): error C2661: “v8::String::Value::Value”: 没有重载函数接受 2 个参数 [C:\Us ers\86186\project\factory-test\node_modules\winax\build\node_activex.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exefailed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node -gyp.js" "rebuild" gyp ERR! cwd C:\Users\86186\project\factory-test\node_modules\winax gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install:node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\86186\AppData\Roaming\npm-cache_logs\2019-08-01T11_35_06_912Z-debug.log

`

[Bug] NodeJS crashed while evaluating COM+ object in Inspector

Every time I debug my scripts through node --inspect, and hover the mouse cursor on the variable name of COM+ object, the process of NodeJS will crash immediately.

But the strange thing is that, evaluating the property of COM+ object (__id, __type or __value) won't crash...

Is WinAX lack of some definition about V8 debugger?

using winax in nw.js with web worker

Hi,

I'm trying to user winax in a project with nw.js using WebWorker.
I can load the module inside a webworker using

activex = require('node-activex');

and i works fine.
But if another web worker wants to use the samemodule I get error: Module didnot self register.

My question is this module can be used ia multithreading application (like using webworker?) if so is there any setup to be done in advance?

Thank you! I love this project!

Exception calling MS-word's Document.SaveAs Method (works in vbs)

Hi,

with the following script:

const winax = require('winax');

let app = new winax.Object('Word.Application');
let doc = app.Documents.Open("D:\\test.docx");
doc.SaveAs("D:\\test.pdf", 17 /* wdFormatPDF */); 
doc.Close();
app.Quit();

I get the following error:

C:\Users\A\Documents\WordBridge2\index2.js:5
doc.SaveAs("D:\\test.pdf", 17 /* wdFormatPDF */);
    ^

Error: DispInvoke: SaveAs Ausnahmefehler des Servers.


    at Object.<anonymous> (C:\Users\A\Documents\WordBridge2\index2.js:5:5)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Function.Module.runMain (module.js:682:10)
    at startup (bootstrap_node.js:191:16)
    at bootstrap_node.js:613:3

("Ausnamefehler des Servers" is German, means something like "exception in the server").

But it works with the following vbs script:

set app = CreateObject("Word.Application")
set doc = app.Documents.Open("D:\\test.docx")
doc.SaveAs "D:\\test.pdf", 17
doc.Close()
app.Quit()

when executed as cscript index.vbs.

Also, doc.SaveAs("D:\\test.pdf"); (without the 17) works with winax.

So there seems to be some sort of problem with the parameter, maybe because it's actually an enum. Any ideas?

BoundLeft, BoundTop, BoundWidth, BoundHeight all return undefined

Using nodeJs v10.15.3, Winax 1.12. and PowerPoint 2007, I'm trying to get the BoundLeft, BoundWidth, BoundHeight and BoundTop value properties for a TextRange object. They all return "undefined" whatever I try. If I ask for the Text or Length or any other property of the TextRange, I got a valid result. Also the typeof() for these properties returns "undefined" while they are effectively present in the property list. Here is an example of what I do:

var presentation = powerpnt.Presentations.Open("myFileName.pptx", 0, 0, 0);
var slideShapes = presentation.Slides.Item(1).Shapes;
console.log(slideShapes.Item(1).TextFrame.TextRange.Text);
console.log(slideShapes.Item(1).TextFrame.TextRange.BoundLeft);

The "Text" property effectively displays the text of the TextRange but the BoundLeft will return undefined.

Could it be that I do something wrong here?

how can i use a function with the Variable is a pointer ?

i‘m using an activex com dll,

and the dll proivde a function: GetCursorPos(x,y)

the document says that : x,y is a pointer which will receive int value

my english is not very good,if you can understand,please help me。

thank you very much

Type not matching

I'm trying to call this function: http://help.seagullscientific.com/2016/de/Subsystems/ActiveX/ActiveX.htm#XMLScript.htm%3FTocPath%3DReference%7CApplication%2520Object%7CApplication%2520Methods%7C_____8 and I keep getting Error: DispInvoke: XMLScript type mismatch (errno 2147352571)

I think it's probably due to the BarTender.Messages by reference, but I cant reproduce it on js.
Just an example:

let btApp = new winax.Object('BarTender.Application');
let data = new winax.Variant();
let refdata = new winax.Variant(data, "byref");
btApp.XMLScript('some XML string', 2, refdata);

Any suggestions?

-- Edit
I found that on python comtypes i could execute the command without the last argument, doing somenthing like:

from comtypes.client import GetModule
GetModule("C:\\Path\\To\\bartend.exe")

from comtypes.gen import BarTender
from comtypes.client import CreateObject
app = CreateObject(BarTender.Application)
app.XMLScript("foo", 0)

See here for full code explanation, maybe its the way winax is handling the output

[Question] How to get the process ID of the new activeXObject ?

Hi,

When there are 2 processes running with the same name how can I get the PID for each ?

var proc1 = new ActiveXObject("PowerPoint.Application");
var proc2 = new ActiveXObject("PowerPoint.Application");

So far I tried proc1.Quit(); but it doesn't works some time so I would like to get the PId and then call "taskkill /F /T /PID " + proc1.pid

can't install

i have installed python and set environment variable, but still report error.

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\creatworld\AppData\Local\Prgrams\Python\Python35\python.exe", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (D:\NodeJs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (D:\NodeJs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at D:\NodeJs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\NodeJs\node.exe" "D:\NodeJs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\项目\Vueone\20开发区\03代码\vueone\跨平台\nwjs-xpsp3\vueone\node_modules\winax
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\creatworld\AppData\Roaming\npm-cache_logs\2018-10-16T03_41_39_290Z-debug.log

Getting extended error info from ActiveXObject

Hi,

I am using Winax. Works fine. When error occurs on a dispatched task I can catch that error. The info available to me is basically a string message describing the error. I was wondering if it would be possible to get additional error info, such as Error codes that the activeX objects exposes.

COM's properties not showing up

Have done a number of Python-based application that automates certain processes in SAP via the SAP Scripting in the past. Trying to do similar via NodeJs/Winax.

In Python

import win32com
import win32com.client

app = win32com.client.Dispatch("Sapgui.ScriptingCtrl.1")        
conn = self.app.OpenConnection("SAP Connection String", True)
session = self.conn.Children(0) # Children is a property of Connection object.

In JS

require('winax');
var app = new ActiveXObject('Sapgui.ScriptingCtrl.1');
var conn = app.OpenConnection('[SAP Connection String]', true);
var session = conn.Children(0); // Trying to fetch the first Children, similar to step above.

The JS code will fail at the conn.Children(0) with error Error: DispInvoke: Children Type mismatch.. Why that's the case?

From VSCode debug
conn inspect

Connection API
conn API

Thank you. Appreciate some help here.

Error: %1 non è un'applicazione di Win32 valida.

I have downloaded your script and then unzipped
When i launch the command:

node Test.js

i got this error:

module.js:460
return process.dlopen(module, path._makeLong(filename));
^

Error: %1 non è un'applicazione di Win32 valida.
?\D:\activex\Release\activex.node
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (D:\Banche\activex\Test.js:8:1)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)

I use Windows 10, Python27, and Visual studio 2015
Can you help me?

32bit OCX

Hi!
Winax doesnt have support for 32 bit dll/ocx?

I mean, I have two DLLs, one of which has 32-bit and 64-bit versions, the other DLL NFSeX.spdNFSeX has only a 32-bit version and the object is not being created 😭

Code:

const ActiveX = require('winax')
const spdNFCe = new ActiveX.Object('NFSeX.spdNFSeX')

Error:

const spdNFCe = new ActiveX.Object('NFSeX.spdNFSeX')
                ^

Error: CreateInstance: NFSeX.spdNFSeX Class not registered

    at Object.<anonymous> (C:\Documentação\SaaS\componente\node\app.js:2:17)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:598:3

PS: The DLL is registered, but as 32 bits

listen events from Object

Hello,

I am using the winax to invoke methods in a COM Object and works fine.
Now I need to listen to events of that Object. How should I get arround that?
Thank you. Great job.

Get CURRENCY variable

I'm trying to get a property with a "currency" type from a dll. But the constructor assigns __value = undefined
var sum1 = new winax.Variant( con.Summ1, 'int64' ); console.log( con.Summ1 );
Console:
Variant { [__type]: 'int64', [__value]: undefined }
type definition link

License classification

Currently this is classified as BSD on NPM, however there are no details on which BSD clause this falls under? Alternative can this be moved under MIT? Due to lack of license details, I am currently unable to use this at my firm.

Segfault trying to use _NewEnum from WMI

const ActiveX = require('winax');

var conn = new ActiveX.Object('WbemScripting.SWbemLocator');
var svr = conn.ConnectServer('.', 'root\\OpenHardwareMonitor');

const results = [];
  const queryResponse = this.svr.ExecQuery(queryString);
  for (let i = 0; i < queryResponse.Count; i += 1) {
    const properties = queryResponse.ItemIndex(i).Properties_;
    let count = properties.Count;
    const propEnum = properties._NewEnum;
    const obj = {};
    while (count) {
      count -= 1;
      const prop = propEnum.Next(1); // segfault
      console.log(prop);
      obj[prop.Name] = prop.Value;     }
    results.push(obj);
    }

Can't install with Node.js v12

It is impossible to install winax package when Node.js v12 is installed on the machine. Here is the log:

> yarn add winax
yarn add v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠄ electron
error C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax
Output:
C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn C:\Users\n.batov\.windows-build-tools\python27\python.exe
gyp info spawn args [
gyp info spawn args   'C:\\Program ' +
gyp info spawn args     'Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=2015',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\n.batov\\RiderProjects\\cashierapp\\node_modules\\winax\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\n.batov\\.node-gyp\\12.2.0\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\n.batov\\.node-gyp\\12.2.0',
gyp info spawn args   '-Dnode_gyp_dir=C:\\Program ' +
gyp info spawn args     'Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=C:\\Users\\n.batov\\.node-gyp\\12.2.0\\<(target_arch)\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\n.batov\\RiderProjects\\cashierapp\\node_modules\\winax',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\Users\\n.batov\\RiderProjects\\cashierapp\\node_modules\\winax\\build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  main.cpp
  utils.cpp
  disp.cpp
  win_delay_load_hook.cc
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(188): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(199): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(201): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(202): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(203): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(204): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(210): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(214): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(218): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(222): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(226): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(188): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(309): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\utils.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(199): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(201): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(202): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(203): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(204): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(210): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(214): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(218): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(222): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(226): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(309): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\disp.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(188): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(73): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecatedc:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note:
see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(199): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(201): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(202): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(203): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(89): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp)
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3367): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(204): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(210): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(214): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(218): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\main.cpp)c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(119): error C2664: 'v8::MaybeLocal<v8::Value> v8::Date::New(v8::Local<v8::Context>,double)': cannot convert argument 1 from 'v8::Isolate *' to 'v8::Local<v8::Context>'

  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(119): note: No constructor could take the source type, or constructor overload resolution was ambiguous
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(222): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(226): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated (compiling source file ..\src\main.cpp) [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(137): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(144): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(149): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.h(309): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\main.cpp)c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\main.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(190): error C2664: 'v8::MaybeLocal<v8::Value> v8::Date::New(v8::Local<v8::Context>,double)': cannot convert argument 1 from 'v8::Isolate *' to 'v8::Local<v8::Context>' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(211): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(214): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(274): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const
v8::String::Value &' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(274): note: Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(274): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(328): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(245): warning C4996: 'v8::Value::BooleanValue': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2561): note: see declaration of 'v8::Value::BooleanValue'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(256): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3416): note: see declaration of 'v8::Object::Get'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(341): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(342): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(343): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(344): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(345): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3367): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(374): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(374): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(375): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(375): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(376): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(376): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(379): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(379): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(380): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(380): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(358): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(527): error C2660: 'v8::Function::Call': function does not take 3 arguments

  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(4148): note: see declaration of 'v8::Function::Call' (compiling source file ..\src\utils.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(368): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(369): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(370): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(475): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(390): error C2660: 'v8::ObjectTemplate::NewInstance': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(6244): note: see declaration of 'v8::ObjectTemplate::NewInstance' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(488): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(496): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(432): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(432): error C2661: 'v8::Local<v8::Function>::New': no overloaded function takes 1 argumentsc:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(502): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(445): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Value &'c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3367): note: see declaration of 'v8::Object::Set' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(445): note: Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(503): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3358): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(516): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(410): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(547): warning C4996: 'v8::Object::Get': was declared deprecatedc:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(413): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(416): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3416): note: see declaration of 'v8::Object::Get'

c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(496): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Name>' to 'const v8::String::Value &'c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\utils.cpp(548): warning C4996: 'v8::Object::Get': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]

  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(496): note: Reason: cannot convert from 'v8::Local<v8::Name>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(496): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3412): note: see declaration of 'v8::Object::Get'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(514): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(517): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(520): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(545): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Name>' to 'const v8::String::Value &' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(545): note: Reason: cannot convert from 'v8::Local<v8::Name>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(545): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(643): warning C4996: 'v8::Object::Set': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(3367): note: see declaration of 'v8::Object::Set'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(722): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Value &' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(722): note: Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(722): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(809): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(809): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(790): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(804): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(805): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(817): error C2660: 'v8::ObjectTemplate::NewInstance': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(6244): note: see declaration of 'v8::ObjectTemplate::NewInstance' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(897): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Local<v8::Name>' to 'const v8::String::Value &' [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(897): note: Reason: cannot convert from 'v8::Local<v8::Name>' to 'const v8::String::Value'
  c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(897): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(914): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(917): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(920): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(923): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(926): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(929): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(5947): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(909): warning C4996: 'v8::String::NewFromTwoByte': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2909): note: see declaration of 'v8::String::NewFromTwoByte'
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(984): error C2660: 'v8::ObjectTemplate::NewInstance': function does not take 0 arguments [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(6244): note: see declaration of 'v8::ObjectTemplate::NewInstance' (compiling source file ..\src\disp.cpp)
c:\users\n.batov\riderprojects\cashierapp\node_modules\winax\src\disp.cpp(995): warning C4996: 'v8::String::NewFromUtf8': was declared deprecated [C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax\build\node_activex.vcxproj]
  c:\users\n.batov\.node-gyp\12.2.0\include\node\v8.h(2890): note: see declaration of 'v8::String::NewFromUtf8'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\n.batov\RiderProjects\cashierapp\node_modules\winax
gyp ERR! node -v v12.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

Is it possible to create an Outlook object?

I am trying to write something similar to the following code:

    var outlook = new ActiveXObject("Outlook.Application");

    message = outlook.CreateItem(0);
    message.Subject = 'Double-Header Today';
    message.Body = 'This is the message body.';
    message.Save();

    message.Display();

And I am getting an error when trying to create an Outlook object ( Error: CreateInstance: Outlook.Application error in server execution)

Does activex support Outlook object?

Issue in bundling wiht browseify

Hi there,

I am sorry for my question because it might be very clear what the issue is, that's because I am very new to Node.Js.

I am facing an issue when I am using browsify with winax , it is something related to the path I can't know what is the issue.

could someone help, please?

Thank you

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

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?

Winax doesn't find dll

I want to create com object, but winax does not find dll. Can I add a path where to find it?

Error: DispPropertyGet: Invalid number of parameters

Firstly, thanks @durs for the library, it's exactly what I needed, great job!

I have a problem with calling any function that takes at least one parameter, as I'm getting Error: DispPropertyGet.

const winax = require('winax')
const myAutom = new winax.Object('ControlCenter.Automation')
const playback = myAutom.Playback
let d = playback.SelectedDestination // works fine, returns 1 in the example
let m = playback.CurrentCamera(d) // fails with DispPropertyGet error

When inspecting the playback object in WebStorm (and from internal docs), I can see that the method should take only one argument.

WebStorm
Internal Documentation

Error: DispPropertyGet: CurrentCamera Invalid number of parameters.

Any ideas? Similar code works fine using C#.

Error: DispPropertyFind: inspect Unknown name.

I build winax on Windows 7 (x64) with Node 7.10.0. And then I ran npm run test, it passed. I thought everything is fine.

Now I take a close look into the code.

    it("create", function() {
        excel = new ActiveXObject("Excel.Application", { activate: true });
        console.log(excel) // Error: DispPropertyFind: inspect Unknown name.
        console.log(excel.Workbooks) // Error: DispPropertyFind: inspect Unknown name.
    });

So the test result shows okay, but actually it is an error message. I have installed Office 2010 on my PC, anything wrong with my usage?

Node crashes on null property of received object.

Hi,

On Node (I am actually using Node Webkit NW.js) when getting back results from a ActiveX object I have one of the properties of the returned object that may or may not be null.

I don't even get a chance for null-checking. As soon I try to access it be it either via code or the debugger the application crashes brutally.

Interfacing InDesign

InDesign supports OLE and this code works using microsoft jscript from cmd
test.js:

var prog = new ActiveXObject("inDesign.Application.CS6");
prog.doScript("alert('Hello from JavaScript',app.name, false);", 1246973031);

cscript //nologo test.js results in an alert box in InDesign.

The same doesn't work from node.js

var winax = require('winax');
var script1 = "alert('Hello from JavaScript',app.name, false);"
var prog = new winax.Object('InDesign.Application.CS6'); //tested both this and ActiveXObject syntax
prog.doScript(script1,1246973031 );

running this does nothing, and console.log() returns undefined

Am I doing something wrong?

Can't able to access the Registered dll class files.

I register a dll using regsvr32 /n /i:user wgssSTU.dll and the dll is registered in HKEY_USERS path,
I can't able to access the dll classes using winax.
require('winax'); var test = new ActiveXObject("WacomGSS.STU.UsbDevices");
While running the above code i'm getting Class not registered Error
But it is registered.

electron4.0.0 can't find the module

This relative module was not found:

* ./build/Release/node_activex in ./node_modules/winax/activex.js
 ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service electron:serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

image
I don't know if I'm missing modules

// package.json
"scripts": {
    "rebuild:gyp": "cd ./node_modules/winax && node-gyp rebuild --runtime=electron --arch=ia32 --target=4.0.0 --dist-url=https://npm.taobao.org/mirrors/atom-shell"
  },
  "main": "background.js",
  "dependencies": {
    "winax": "1.0.17"
  },
  "devDependencies": {
    "electron": "^4.0.0",
    "typescript": "~3.5.3"
  },

node-gyp v6.0.0
npm v6.4.1
node v8.12.0-x86

js Callback Function causes Access Violation

Hi durs,

first of all, thanks for implementing 'winax'.

I currently use it to migrate software from IE to electron. Unfortunately I experience access violations when setting a javascript function as a callback for a C# object.

Example:

C# Site:

public interface IMyInterface
{
[DispId(0x1234567)]
object OnChange { set; }
}

JS Site:

function SetCallbackToInterface(callback)
{
myInterface.OnChange = function (eventName, eventData, eventTime)
{
if (eventName === "specialEvent")
callback(eventName, eventData, eventTime);
else
__default(eventName, eventData, eventTime);
};
}

Setting myInterface.OnChange to the Function above works, but when it is invoked from C# site it causes an access violation.

You already have a VarArguments implementation with
*VarArguments(Isolate isolate, const FunctionCallbackInfo &args) but I am not sure how to use it correctly. When bool DispObject::set is called for the example above it should figure out if value is a function and then use the constructor using FunctionCallbackInfo. Could you help me please.

Converting JavaScript string to C++ BSTR

Hi, I have a ActiveX property that takes in BSTR as an argument that doesn't seem to work properly in node-activex.

Docs:

NvrFromIpAddress  ([in] BSTR IpAddress) [get]
Property to get an NVR by IP Address.

NodeJS:

let nvr = myAutom.Nvrs.NvrFromIpAddress['192.168.1.9'] // returns undefined

C#:

var nvr = myAutom.Nvrs.NvrFromIpAddress["192.168.1.9"]; // returns nvr object

Any ideas? I've tried couple other functions/properties that take BSTR as an argument and none work correctly.

some err with 'node-gyp.js'

i executed the command 'npm install winax',and then installed1packages,but it threw err as below
'E:\wzh-projects\grgzpt\node_modules._winax@0.2.3@winax>node "C:\Users\wzh-lian\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\node-gyp-bin\nod
e-gyp.js" rebuild
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\wzh-lian\AppData\Roaming\npm\node_modules\cnpm\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\wzh-lian\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\node-gyp-bin
\node-gyp.js" "rebuild"
gyp ERR! cwd E:\wzh-projects\grgzpt\node_modules._winax@0.2.3@winax
gyp ERR! node -v v6.10.2
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok'
then i required winax in electron-vue ,it threw an err that 'can not find module './build/Release/node_activex'

[Bug] IE object reference incorrect

var IE = new ActiveXObject('InternetExplorer.Application');
IE.Visible = false;
IE.Navigate('github.com');

setTimeout(function ready() {

    if ((! IE.Busy)  ||  (IE.Busy.valueOf() !== false))
        return  setTimeout( ready );

    var document = IE.Document;
    var Div = document.createElement('div');
    document.body.appendChild( Div );
});

The script above will throw Error: DispInvoke: appendChild Error 0x80020101.

I think, maybe winax failed to convert JS object in V8 to COM+.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.