Hi,
I am working with AdamLock's "embedding chrome" example. This is
embedding Gecko engine along with the chromes defined using XULin our
application.
The example works perfectly (after little modification) with the Mozilla
browser, when i loaded this with command line option -chrome. But,
trying the same application with Netscape6, gives following error :
Error: uncaught exception: [Exception... "Invalid InterfaceID" nsresult:
"0x80570018 (NS_ERR)R_XPC_BAD_IID)" location: "JS frame ::
chrome://embed/content/mini-nav.js :: MiniNavStartup :: line 122" data:
no]
The error is while loading the command handler interface with following
code:
var commandHandlerInit = Components
.classes["@mozilla.org/embedding/browser/nsCommandHandler;1"]
.createInstance(Components.interfaces.nsICommandHandlerInit);
Are the InterfaceID's are different for Mozilla and Netscape6 browser?
If so, where can i find Netscape6 InterfaceID's???
Help is greatly appreciated.
Thanks and Regards,
Ram.