On Wed, 07 Jun 2006 09:13:31 +0100, Neil wrote: > By that I assume that you should find that the following expressions > evaluate to true: > "@iosart.com/Utils/ColorZilla;1" in Components.classes True > "Components.interfaces.mozIColorZilla" in Components.interfaces False "mozIColorZilla" in Components.interfaces True
> Is this a JS component? The constructor may be throwing an exception. No a compiled DLL. > What does this return, or throw, or whatever: > Components.classes["@iosart.com/Utils/ColorZilla;1"].createInstance(Components.interfaces.mozIColorZilla); Error: uncaught exception: [Exception... "Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]" nsresult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)" location: "JS frame :: javascript: Components.classes["@iosart.com/Utils/ColorZilla;1"].createInstance(Components.interfaces.mozIColorZilla); :: <TOP_LEVEL> :: line 1" data: no] OK I just found that it works fine in Mozilla 1.7.13, Firefox 1.0.8, Firefox 1.5.0.2. So I don't think it's a colorzilla problem or a SDK problem. Phil -- Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. [ ]The earth is 98% full. Please .ZIP yourself... * TagZilla 0.059 _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
