Yes, I generated a uuid using uuidgen.exe. The implementation of the method returns NS_OK. I missed this line in my last post. Sorry about that.
So is there anything else I should do so that mozilla can know the component also implements user-defined interface? thanks "Christian Biesinger" <[EMAIL PROTECTED]> ???? news:[EMAIL PROTECTED] > banli ga wrote: > > #include "nsISupports.idl"[scriptable, uuid(...)] > > this is just a stab in the dark, but is your uuid unique or did you copy > it from somewhzere? > > > NS_IMETHODIMP > Weblock::Test(){ > fopen("d:\\temp\\test.txt", "w"); > } > > you should return a result here... it is not a void method. are you sure > this compiled? iirc that tends to be an error, not a warning... _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
