result = nsComponentManager::CreateInstance(kLocaleFactoryCID, NULL, kIFactoryIID, (void**)&genericFactory);
result = CallCreateInstance(kLocaleFactoryCID, &genericFactory);
factory_create_interface(void){	nsresult			result;	nsILocaleFactory*	localeFactory;	nsIFactory*			genericFactory;	result = nsComponentManager::CreateInstance(kLocaleFactoryCID,									NULL,									kILocaleFactoryIID,									(void**)&localeFactory);	NS_ASSERTION(localeFactory!=NULL,"nsLocaleTest: factory_create_interface failed.");	NS_ASSERTION(NS_SUCCEEDED(result),"nsLocaleTest: factory_create_interface failed");	localeFactory->Release();	result = nsComponentManager::CreateInstance(kLocaleFactoryCID,									NULL,									kIFactoryIID,									(void**)&genericFactory);	NS_ASSERTION(localeFactory!=NULL,"nsLocaleTest: factory_create_interface failed.");	NS_ASSERTION(NS_SUCCEEDED(result),"nsLocaleTest: factory_create_interface failed");	genericFactory->Release();}