Giter VIP home page Giter VIP logo

node-win32ole's Introduction

NAME

node-win32ole - Asynchronous, non-blocking win32ole bindings for node.js powered by v8 engine .

win32ole makes accessibility from node.js to Excel, Word, Access, Outlook, InternetExplorer, WSH ( ActiveXObject / COM ) and so on. It does not need TypeLibrary.

USAGE

Install with npm install win32ole.

It works as... (version 0.1.x)

try{
  var win32ole = require('win32ole');
  // var xl = new ActiveXObject('Excel.Application'); // You may write it as:
  var xl = win32ole.client.Dispatch('Excel.Application');
  xl.Visible = true;
  var book = xl.Workbooks.Add();
  var sheet = book.Worksheets(1);
  try{
    sheet.Name = 'sheetnameA utf8';
    sheet.Cells(1, 2).Value = 'test utf8';
    var rg = sheet.Range(sheet.Cells(2, 2), sheet.Cells(4, 4));
    rg.RowHeight = 5.18;
    rg.ColumnWidth = 0.58;
    rg.Interior.ColorIndex = 6; // Yellow
    var result = book.SaveAs('testfileutf8.xls');
    console.log(result);
  }catch(e){
    console.log('(exception cached)\n' + e);
  }
  xl.ScreenUpdating = true;
  xl.Workbooks.Close();
  xl.Quit();
}catch(e){
  console.log('*** exception cached ***\n' + e);
}

There are 3 ways to make force Garbage Collection for node.js / v8 .

    1. use huge memory to run GC automatically ( causes abnormal termination )
    1. win32ole.force_gc_extension(1);
    1. win32ole.force_gc_internal(1);

see also examples/ole_args_test_client.js

Tutorial and Examples

Other built in functions

  • win32ole.version(void) // returns version string
  • win32ole.printACP(utf8string) // Utf8 to .ACP
  • win32ole.print(utf8string) // ASCII
  • win32ole.gettimeofday(struct timeval &tv, null) // now arg2 is not used
  • win32ole.sleep(long milliseconds, bool withmessage=false, bool with\n=false)
  • win32ole.force_gc_extension(long flag) // now flag is dummy
  • win32ole.force_gc_internal(long flag, string) // now flag is dummy

FEATURES

  • fix BUG: date
  • BUG: A few samples in [email protected] needs '._' ideom.
  • When you use unary operator '!' at the place that needs boolean CONDITION (for example 'while(!obj.status){...}') , you must write 'while(!obj.status._){...}' to complete v8::Object::ToBoolean() conversion. (NamedPropertyHandler will not be called because v8::Object::ToBoolean() is called directly for unary operator '!' instead of v8::Object::valueOf() in ParseUnaryExpression() v8/src/parser.cc .) Do you know how to fake it?
  • V8Variant::OLEGetAttr returns a copy of object, so it uses much memory. I want to fix it.
  • Now '._' ideom is obsoleted.
  • Remove 'node-proxy' from dependencies list.
  • Change default branch to dev0.1.0 .
  • BUG: Some samples in between [email protected] and [email protected] ( examples/maze_creator.js examples/maze_solver.js ) uses huge memory and many disposers will run by v8 GC when maze size is 20*30. I think that each encapsulated V8Variant (by node-proxy) may be big object. So I will try to use v8 accessor handlers ( SetCallAsFunctionHandler / SetNamedPropertyHandler / SetIndexedPropertyHandler ) instead of ( 'noSuchMethod' / 'noSuchGetter' / 'noSuchSetter' ) by node-proxy.
  • So much implements. (can not handle some COM VARIANT types, array etc.)
  • Bug fix. (throws exception when failed to Invoke(), and many test message.)
  • Implement accessors getter, setter and caller. (version 0.1.x) (Some V8Variants were advanced to 0.1.x .)

API

See the API documentation in the wiki.

BUILDING

This project uses VC++ 2008 Express (or later) and Python 2.6 (or later) . (When using Python 2.5, it needs multiprocessing 2.5 back port .) It needs neither ATL nor MFC.

Bulding also requires node-gyp to be installed. You can do this with npm:

npm install -g node-gyp

To obtain and build the bindings:

git clone git://github.com/idobatter/node-win32ole.git
cd node-win32ole
node-gyp configure
node-gyp build

You can also use npm to download and install them:

npm install win32ole

TESTS

mocha is required to run unit tests.

npm install -g mocha
nmake /a test

CONTRIBUTORS

ACKNOWLEDGEMENTS

Inspired Win32OLE

LICENSE

node-win32ole is BSD licensed.

node-win32ole's People

Contributors

idobatter avatar antony74 avatar

node-win32ole's Issues

Modernize

npm install --force win32ole result:

npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

node-gyp configure result:

ok

node-gyp build result:

C:\Users\s23.jeon\AppData\Local\node-gyp\Cache\20.10.0\include\node\v8-platform.h(1,1): warning C4819: The file contains a character tha
t cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss [D:\node-win32ole\build\nod
e_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Users\s23.jeon\AppData\Local\node-gyp\Cache\20.10.0\include\node\node.h(1315,1): warning C4819: The file contains a character that ca
nnot be represented in the current code page (949). Save the file in Unicode format to prevent data loss [D:\node-win32ole\build\node_wi
n32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(78,43): error C2065: 'Handle': undeclared identifier [D:\node-win32ole\build\node_win32ole.vcxproj] 
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(78,50): error C2275: 'v8::Object': expected an expression instead of a type [D:\node-win32ole\build 
\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(78,58): error C2065: 'object': undeclared identifier [D:\node-win32ole\build\node_win32ole.vcxproj] 
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(78,66): error C2062: type 'int' unexpected [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(79,1): error C2143: syntax error: missing ';' before '{' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(79,1): error C2447: '{': missing function header (old-style formal list?) [D:\node-win32ole\build\n 
ode_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(86,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(86,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(87,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(87,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(88,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(88,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(89,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(89,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(90,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(90,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(91,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(91,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(92,7): error C2988: unrecognizable template declaration/definition [D:\node-win32ole\build\node_win 
32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

D:\node-win32ole\src\node_win32ole.h(92,7): error C2143: syntax error: missing ';' before '<' [D:\node-win32ole\build\node_win32ole.vcxp 
roj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\winerror.h(29718,54): error C2146: syntax error: missing ';' before i
dentifier 'HRESULT_FROM_WIN32' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\winerror.h(29718,73): error C2062: type 'unsigned long' unexpected [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\winerror.h(29718,90): error C2143: syntax error: missing ';' before ' 
{' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\winerror.h(29718,90): error C2447: '{': missing function header (old- 
style formal list?) [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(28,3): error C2143: syntax error: miss 
ing ';' before 'identifier' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(28,3): warning C4091: 'typedef ': igno 
red on left of '_EXCEPTION_DISPOSITION' when no variable is declared [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(52,40): error C2988: unrecognizable te 
mplate declaration/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(52,40): error C2143: syntax error: mis 
sing ';' before '__cdecl' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(53,49): error C2955: '_EXCEPTION_RECOR
D': use of class template requires template argument list [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(48,16):
  see declaration of '_EXCEPTION_RECORD'

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(55,49): error C2955: '_CONTEXT': use o 
f class template requires template argument list [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(49,16):
  see declaration of '_CONTEXT'

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(56,49): error C2955: '_DISPATCHER_CONT 
EXT': use of class template requires template argument list [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\excpt.h(50,16):
  see declaration of '_DISPATCHER_CONTEXT'

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(52,15): error C2988: unrecognizable template declaration/ 
definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(52,15): error C2143: syntax error: missing ';' before '*' 
 [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(54,16): error C2988: unrecognizable template declaration/ 
definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(54,16): error C2143: syntax error: missing ';' before '*' 
 [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(56,15): error C2988: unrecognizable template declaration/ 
definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(56,15): error C2143: syntax error: missing ';' before '*' 
 [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(161,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(161,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(162,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(162,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(163,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(163,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(164,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(164,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(165,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(165,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(168,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(168,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(169,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(169,29): error C2143: syntax error: missing ';' before '*
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(171,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(171,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(172,29): error C2988: unrecognizable template declaration 
/definition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(172,29): error C2143: syntax error: missing ';' before '* 
' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(156,18): error C2988: unrecognizable template declaration/d
efinition [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(156,18): error C2143: syntax error: missing ';' before '*'  
[D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(181,29): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(181,40): error C2146: syntax error: missing ')' before iden 
tifier 'h' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(190,20): error C2065: 'LONG_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(190,30): error C2146: syntax error: missing ')' before iden 
tifier 'h' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(199,22): error C2065: 'UINT_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(199,32): error C2146: syntax error: missing ')' before iden 
tifier 'h' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(209,22): error C2065: 'INT_PTR': undeclared identifier [D:\ 
node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(209,31): error C2146: syntax error: missing ')' before iden 
tifier 'h' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(219,29): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(219,40): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(228,28): error C2065: 'UINT_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(228,38): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(237,46): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(237,57): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(246,20): error C2065: 'LONG_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(246,30): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(255,19): error C2065: 'INT_PTR': undeclared identifier [D:\ 
node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(255,28): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(264,28): error C2065: 'LONG_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(264,38): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(274,22): error C2065: 'INT_PTR': undeclared identifier [D:\ 
node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(274,30): error C2146: syntax error: missing ')' before iden 
tifier 'i' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(284,22): error C2065: 'UINT_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(284,31): error C2146: syntax error: missing ')' before iden 
tifier 'ui' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(294,22): error C2065: 'LONG_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(294,31): error C2146: syntax error: missing ')' before iden 
tifier 'l' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(304,22): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(304,32): error C2146: syntax error: missing ')' before iden 
tifier 'ul' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(318,22): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(318,34): error C2144: syntax error: 'unsigned long' should  
be preceded by ')' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(318,34): error C2062: type 'unsigned long' unexpected [D:\n
ode-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(318,50): error C2059: syntax error: ')' [D:\node-win32ole\b 
uild\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(327,22): error C2065: 'LONG_PTR': undeclared identifier [D: 
\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(327,33): error C2144: syntax error: 'long' should be preced 
ed by ')' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(327,33): error C2062: type 'long' unexpected [D:\node-win32 
ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(327,40): error C2059: syntax error: ')' [D:\node-win32ole\b 
uild\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(336,49): error C2065: 'ULONG_PTR': undeclared identifier [D 
:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(336,60): error C2146: syntax error: missing ')' before iden 
tifier 'p' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(434,19): error C2146: syntax error: missing ';' before iden 
tifier 'SIZE_T' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(435,18): error C2146: syntax error: missing ';' before iden 
tifier 'SSIZE_T' [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\basetsd.h(435,18): error C1003: error count exceeds 100; stopping com 
pilation [D:\node-win32ole\build\node_win32ole.vcxproj]
  (compiling source file '../src/node_win32ole.cc')

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.