Re: [nodejs] Help in conversion of C# code into node.js(FFI) equivalent

2013-06-18 Thread Vinod Nair
Hi Michael, Thank you for the response. What I am trying to do is to click on the Notepad (File->New) using the SendMessageA command. The third param of the SendMessageA is a int32 and I am trying to convert my WID to provide as an input for it. IntPtr menuHandle = new IntPtr(Convert.ToInt32(m

Re: [nodejs] Help in conversion of C# code into node.js(FFI) equivalent

2013-06-18 Thread Michael Schoonmaker
Vinod, There's a lot about the surrounding code we'd have to know to make sense of these lines (IntPtr has way too many uses). The best I can tell is that you're looking for the global parseInt function: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/parseInt?redirect