Inject custom c++ code into node-webkit?

10 views
Skip to first unread message

Manvir Singh

unread,
Nov 11, 2013, 8:38:27 PM11/11/13
to node-...@googlegroups.com
Is there someway of adding c++ code that can get handles to windows and stuff. For example i want to inject some code into the node-webkit exe to be able to get HWND for other windows. So i there anyway of doing this?

aaron....@gmail.com

unread,
Mar 20, 2014, 6:28:19 PM3/20/14
to node-...@googlegroups.com

jalal...@gmail.com

unread,
Dec 1, 2014, 4:05:59 AM12/1/14
to node-...@googlegroups.com, aaron....@gmail.com
I think we can use addons Node for Node-webkit when this addon use only JavaScript.

When they use C++, we must re-complie the "Addons.node" with nw-gyp and don wtih node-qyg.

I am wrong ?

I have some difficulties with nw-gyp.

JZ

Rodrigo Pandini

unread,
Dec 1, 2014, 6:00:51 AM12/1/14
to node-...@googlegroups.com
Yes, you are right.
You need rebuild the addons modules with nw-gyp.
What are the difficulties that you have with nw-gyp?
Check this links, maybe can help you:



--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jalal Zawam

unread,
Dec 1, 2014, 8:10:41 AM12/1/14
to node-...@googlegroups.com
I cannot rebuild it with nw-gyp

nw-gyp refuse to download the header of the version of NW. (I put this in a screenshot)

I don't know why :-s

I put this in a issue in the github ... (no answer ..)

https://github.com/rogerwang/nw-gyp/issues/47

I tried to download these headers manually and I put them in the forlder where I make the command "nw-gyp rebuild --target=0.6.3".

Any help will be very nice :-)

JEZ


--
You received this message because you are subscribed to a topic in the Google Groups "node-webkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-webkit/TgBmn9-DJSw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-webkit...@googlegroups.com.
ScreenHunter_20 Dec. 01 13.36.jpg
Reply all
Reply to author
Forward
0 new messages