NS_InitEmbedding no longer causes XPCOM component discovery and registration (autoreg) in optimized builds. If your application requires automatic component discovery and registration to be run in an optimized build, you can add this code:
#include "nsXPCOM.h" ... nsCOMPtr<nsIComponentRegistrar> registrar; nsresult rv = NS_GetComponentRegistrar(getter_AddRefs(registrar)); if (NS_FAILURE(rv)) return rv; rv = registrar->AutoRegister(nsnull); ... This message only applies to the mozilla trunk. -- Doug Turner [EMAIL PROTECTED]
