Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

NAME

node-win32api - Asynchronous, non-blocking win32api bindings for node.js .

USAGE

Install with npm install win32api.

varwin32con=require('win32con');varwin32api=require('win32api');varMessageBoxA=win32api.new('user32','MessageBoxA','LPPL','L');varresult=MessageBoxA.call(win32api.hWnd,'Hello, Win32API','test message',win32con.MB_ICONINFORMATION|win32con.MB_OK);win32api.print(result);varMessageBoxW=win32api.new('user32','MessageBoxW','LPPL','L');varresult=MessageBoxW.call(win32api.hWnd,'from utf8string','auto convert',win32con.MB_ICONINFORMATION|win32con.MB_OK);win32api.print(result);

FEATURES

  • So much implements.
  • Implement accessors getter, setter and caller.
  • npm

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 .)

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-win32api.git
cd node-win32api
node-gyp configure
node-gyp build

You can also use npm to download and install them:

npm install win32api

TESTS

mocha is required to run unit tests.

npm install -g mocha
nmake /a test

CONTRIBUTORS

ACKNOWLEDGEMENTS

Inspired WIN32API

LICENSE

node-win32api is BSD licensed.

About

Asynchronous, non-blocking win32api bindings for node.js .

Resources

Stars

25 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors