Hello, I need to create application, that will change fields in TB addressbook. I tried to find examples in Internet, but have found only one - http://www.mail-archive.com/[email protected]/msg05543.html. And it doesn't work, actually =).
So, I tried to find the solution, and noticed, that error, that appears, when I'm trying to get nsAddressBook object is NS_ERROR_FACTORY_NOT_REGISTERED. I serfed internet again and found, that this error will disappear, if I'll call NS_InitEmbedding(here http://www.mail-archive.com/[email protected]/msg02580.html for example). And then nsIComponentRegistrar->AutoRegister( nsnull ). I tried to work in this way, but on NS_InitEmbedding step I got NS_ERROR_FAILURE. What can I do with NS_ERROR_FACTORY_NOT_REGISTERED error? Or how can I call NS_InitEmbedding properly? -- With best regards, Pavel S. Kovalev mailto: [EMAIL PROTECTED] ICQ: 2712239 _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
