Thanks. I ever put the .xpt file under the component directory. But it didn't work.
You are right. I have to delete xpti.dat. Then I restart mozilla. Using component viewer, I can see my component implementing the self-defined interface. Thanks, Christian. "Christian Biesinger" <[EMAIL PROTECTED]> ???? news:[EMAIL PROTECTED] > banli wrote: > > So is there anything else I should do so that mozilla can know the component > > also implements user-defined interface? thanks > > Ah right... What are you doing with the .xpt file generated by xpidl? > > You need to put it in mozilla's components directory to be able to use > your interface from javascript. > > (Maybe you also have to delete xpti.dat, not sure) _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
