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?

Reply via email to