I want to use XPCOM in my plugin module. But I met NS_ERROR_NOT_INITIALIZED error when I tried to get the servicemanager with the following code.
What are you linking against? if you are using the XPCOM glue (linking against xpcomglue.lib) you need to use the XPCOMGlueStartup() function.
Since you are a plugin, however, you can safely just link against xpcom.dll and you shouldn't have this problem.
--BDS
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
