I'm trying to write a Win32 program to manipulate Firefox's cookies.  I can 
init XPCOM just fine.  I can enumerate the various components using 
nsIComponentRegistrar::EnumerateContractIDs(), and I see both the 
cookiemanager and the cookieService.  However when I try to create either of 
these objects via nsIComponentManager::CreateInstanceByContractID() or 
nsIServiceManager::GetServiceByContractID(), I get an 0x80040154 - 
NS_ERROR_FACTORY_NOT_REGISTERED.

I looked through the browser source tree and it indeed looks like factories 
for these components are never created.  However, when I look through the 
"test code" is see a test program that does what I' trying to do.  Since the 
test program presumably works, it is unclear what I'm doing wrong.

Any ideas?

thanks in advance,

Larry 


_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to