> The idl you posted used the interface name "iMyInterface" and the js you > posted used the name "iSN". That is a bad start.
That's a mistake I did while posting here; this is not the case in my actual code. Thanks anyway for pointing out. > It seems that your C++ QueryInterface is responding with NS_NOINTERFACE > for whatever that uuid might be. Exactly. That's the problem. > I suggest your confirm that we you are using only one interface name with one > uuid > and then set a breakpoint in your C++ QueryInterface method to see what is > going on. There is only one interface and one IID. Mismatch of IIDs is not possible because both xpt and header file of the interface are generated on one file(idl), by xpidl.exe. Anyway it's working now. Modifications I did: 1. I cleaned up all the files and I installed the extension only for my profile instead of entire system. 2. I deleted xpdi.dat and compreg.dat from my profile directory. Earlier I didn't do this. I think this was the _mistake_ I was doing. Is this step compulsory? PS: I am working on WindowsXP. Thanks a lot for the help, - Rajendra Prasad Murakonda. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
