NS_ERROR_XPC_BAD_IID: Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.createInstance]
I've already replaced nsILocalFile with nsIFile, per here: http://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57
Is there something else I'm missing to get it to work?
Code: Select all
var localFile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsIFile);
localFile.initWithPath(ProjPath);