Subj : Re: JavaScript to C binding To : Thulasidhar J.K From : Brendan Eich Date : Tue Jul 27 2004 02:54 pm Thulasidhar J.K wrote: > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: 7bit > > Hello all, > iam trying to achieve is something like this... > i have a backend C program. i need a GUI to invoke those functions on a > button click. i have already done a gui based on GTK on linux but since > HTML based GUI is more easier to maintain, i need to do the same GUI in > HTML. i think it is possible to bind a JavaScript function to a C > function but i dont know how > > Can someone please explain to me the way to bind a function in a C > program to a JavaScript function so that i can call the C function when > a button is pressed in a HTML page Have you read anything on http://www.mozilla.org/js/spidermonkey/ yet? /be .