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?
Netscape 7.0.2 is based on Mozilla 1.0.2. In this version, most of the stuff you are trying to do probably will not work. Try using Mozilla 1.2 or greater.
Regards, Doug Turner
