Re: Accessing arbitrary XPCOM interfaces using JavaXPCOM

Michal Ceresna <[email protected]> Thu, 15 Nov 2007 00:54:50 +0100
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <200711150054.50554.michal.ceresna__29874.6924069293$1195084614$gmane$org@gmail.com>
On Thursday 01 November 2007, edburns wrote:

Dear Ed,

> app using Java XPCOM.  I have verified that I can successfully access
> the nsIFireBug service from native code by verifying that rv == 0
how did you exactly run your native code? Did you test it with 
a c++ component?

> 01. org.mozilla.xpcom.Mozilla mozilla =
> org.mozilla.xpcom.Mozilla.getInstance();
> 02. mozilla.initialize(new File("F:\Projects\mozilla\MOZILLA_NIH
> \FIREFOX_2_0_0_3_RELEASE\mozilla\xulrunner-win32_d.obj\dist\bin"));
> 03. nsIServiceManager srvMan = mozilla.getServiceManager();
I think the problem is that the extension manager is not started
and therefore the firebug components are not accessible.

best regards,
Michal