Dear Sirs/Madams! 
    I am working on JavaXPCOM now, but I have some trouble with Extension 
Manager. I can't get nsIExtensionManager interface in following code: 

    nsIExtensionManager em = 
(nsIExtensionManager)serviceManager.getServiceByContractID("@mozilla.org/extensions/manager;1",
 nsIExtensionManager.NS_IEXTENSIONMANAGER_IID); 

I got such error: 

"getServiceByContractID" returned an error condition  (0x80570016) 

When I try to look into the problem, I discovered that I couldn't get many 
service interfaces, such as nsIXULAppInfo of "@mozilla.org/xre/app-info;1" 
component. 

I would be appreciated if you could give me some advice, such as:point out my 
fault and the reason.

Best wishes.




Sincerely,
francejason
2008-07-30
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to