I found a solution to this, but this is dirty :-) You can create your own javascript classes in C++ and add them to the Gecko DOM. See the dirty idea ? Yes, just create your C++ class called "external", add it to the DOM and that's it. The only difference you will have between Gecko and IE will be : <script type="text/javascript"> external = new MyCPPClass() </script>;
But for the reste, this still will be : external.myfunc(param1,param2); The tutorial/sample/code to extend the Gecko DOM is here : http://users.skynet.be/saw/SpiderMonkey.htm Antoine "Tom Schmidt" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi Jon, > > Have you made any progress on this? I've been using the IE web broswer > control window.external from jscript, but would like to port mozilla. > > Thanks > > "Jon Gabilondo" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Hi, >> >> Does mozilla offer something similar to the "external" class of Internet >> Explorer to call C external functions ? >> If not can it be extended mozilla to do it so ? >> >> Thanks. >> > > _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
