Hello, Rajendra.
Did you define your interface in .idl file, as scripttable ?
Oliveiros
----- Original Message -----
From: "Rajendra Prasad Murakonda" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 22, 2006 4:02 PM
Subject: Can't see my interface in the custom made XPCOM component...
Hi,
I made a small XPCOM component following the instructions given in the
XPCOM
book(creating XPCOM components). I also made a Firefox extension that
includes my component. I included my component(dll) and interface typelib
file(xpt) in the components directory of my extension. Then I installed my
extension in Firefox 1.5.0.3. Though my component is getting registered
with
Firefox, the interface is not. Because of this, in my extension(through
JavaScript), though I can get the instance of my component, I am not
getting
the pointer to my interface(as the interface is not available to Firefox).
When I view all the components registered with Firefox using the component
viewer extension, I can see my component, but not the interface it
implements. It shows that my component only implements two interfaces:
nsIObserver & nsISupports. I can't see the third interface which my own
interface.
Any ideas where's the problem.
TIA,
Rajendra Prasad Murakonda.
--------------------------------------------------------------------------------
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom