Hello, I built node.js as a static library and linked it to my C++ application. This application is a wrapper, built with the V8 engine. It is loaded as a library from another platform(also written in C++) and exposes the methods of that platform, so these methods can be called from JavaScript. I used the advise from the link below, built and then linked the node.js as static library into my application, but without modifying the node.cc file: https://github.com/hoonto/node-embed I can't understand from the Guide if it is possible to invoke direct the node.js APIs from C++.
I am working with the unstable version of node.js (0.11.14) because i need the new version of v8.h in it. So how can I call the APIs or the modules(libraries) in node.js from C++ direct, without to invoke node::Start() with a JavaScript file as an argument? Thanks, Peter Stoyanov -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/7a90b415-634a-46c3-b7a8-98dcf43f57fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
