Trying to make Hello World native module for node.js
Got an Win32 Project in VS 2012 with one file:
#include
Unrelated to your probem: I get the same error (Error: %1 is not a valid Win32 application) when trying to execute a script with extension ".node", e.g. node.exe example.node. Other extensions (.js, .txt, no extension at all) work fine.
Error: %1 is not a valid Win32 application
node.exe example.node