"Arun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have Netscape 7.0.2 installed on windows 2000. > I want to registered an XPCOM componant using regspcom.exe but my > componant is crashing during registration because it is not able to > get the nsICategoryManager pointer. > I am calling GetServiceByContractID("@mozilla.org/categorymanager", NS_GET_IID(nsICategoryManager), getter_AddRefs(catman)); > function to get the categorymanager....but somehow this does not work. > and it is returning NULL for nsICategoryManager pointer. > > What could be the possible cause for this?
Hi Arun, I have found a tool called XPCOM "Component Viewer" that has helped me out tremendously when debugging items for Netscape 7.02. You can find this tool at http://www.hacksrus.com/~ginda/cview/ . This tool helps in a variety of ways. First it identifies all of the registered components . It also lists all of the contract and interface identifiers. Check it out. Tom -
