Thank you very much, it works fine now!

   Philippe.

Matej Pfajfar wrote:
Hi

I had the same problem.
The installation itself is probably successful (make sure it is by
checking the components folder) but the component does not get registered.


The compreg.dat is now a part of the user's profile. Try deleting
compreg.dat from your profile and restart Firefox. You should find
that your component suddenly starts working!

Modify your install.js script so that is deletes compreg.dat from
the user's profile if it exists. When the user has restarted the
browser,
it will be re-created and your newly installed component will be
registered.

HTH,

Matej

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philippe Camacho
Sent: Wednesday, December 15, 2004 10:24 PM
To: [EMAIL PROTECTED]
Subject: Firefox 1.0 & XPCOM

    Hello,

I wrote a plugin with an XPCOM component. It works well on mozilla-1.7.3 and Firefox 0.9 but not with Firefox 1.0. When I
install the plugin I obtain (with Firefox 1.0) this:


*** getItemProperty failing for lack of an item. This means getResourceForItem failed to locate a resource for aItemID (item ID = file:///home/pcamacho/ca4web/ca4web_mozilla/aceptaWeb/acepta.xpi, property = disabled)
*** getItemProperty failing for lack of an item. This means getResourceForItem failed to locate a resource for aItemID (item ID = file:///home/pcamacho/ca4web/ca4web_mozilla/aceptaWeb/acepta.xpi, property = internalName)


Then when I try to use my plugin, on my XPCOM component call I get this message in the Javascript console:

Error: uncaught exception: [Exception... "Invalid InterfaceID" nsresult: "0x80570018 (NS_ERROR_XPC_BAD_IID)" location: "JS frame :: chrome://acepta/content/script.js :: info :: line 1617" data: no]

where line 1617 is the call to create my XPCOM component.

I guess there was a problem during installation / registration of the plugin but I don't know how to solve this problem.

    Thanks for help, Philippe.
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom



_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to