On Mar 23, 1:34 pm, Alex Vincent <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > It appears that Javascript does not believe that the object supports > > nsIClassInfo. According to the docs I found online at > >http://www.mozilla.org/projects/xpcom/nsIClassInfo.htmlthis should be > > enough to get classinfo stuff working. The code at > >http://lxr.mozilla.org/mozilla1.8.0/source/xpcom/sample/nsSampleModul... > > looks similar with nothing obviously out of place. > > > Clearly, I'm missing something. Can anyone help me out? > > Take a look at this bug: > > https://bugzilla.mozilla.org/show_bug.cgi?id=371052 > > I posted a patch for converting a C++ component (in this case, > nsCommandLine) to support nsIClassInfo. It was surprisingly simple.
I looked at it, and it appears that the only difference between my code and your patch is the inclusion of nsIClassInfoImpl.h. I'm still using xulrunner 1.8.0.4, and it doesn't seem like nsIClassInfoImpl.h is available in that release. I haven't had luck building and installing xulrunner from the CVS head, which is one reason I'm using 1.8.0.4. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
