nsIFactory*			genericFactory;
serivce_create_interface(void){	nsresult			result;	nsILocaleService*	localeService;	nsIFactory*			genericFactory;	result = nsComponentManager::CreateInstance(kLocaleServiceCID,									NULL,									kILocaleFactoryIID,									(void**)&localeService);	NS_ASSERTION(localeService!=NULL,"nsLocaleTest: service_create_interface failed.");	NS_ASSERTION(result==NS_OK,"nsLocaleTest: service_create_interface failed");	localeService->Release();}