Subj : Re: architecture strategy: JSAPI or XPCOM? To : Jason From : Brendan Eich Date : Fri Feb 11 2005 06:24 pm Jason wrote: > Is it generally easier in such a case to use JSAPI + jsshell & manually > create / instantiate the wrapper Javascript objects, or to make things > XPCOM-ready and then automatically suck them in using xpcshell? The latter. All you write is XPIDL and whatever C++ glue you need to implement those IDL-declared interfaces on top of your DLL. > Unfortunately, my head is spinning with not understanding how the XPCOM > approach would work (what files are generated which would contain the > actual code, and how does xpcshell know about them?); See http://lxr.mozilla.org/mozilla/source/xpcom/sample/ for a bunch of samples that may make it all clear. Ask around in the xpcom newsgroup (setting followup-to: header and cross-posting my reply here). /be .