Re: Registering components under XULRunner 24

Christian Sell <[email protected]> Thu, 13 Feb 2014 10:12:22 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
doesnt work. I am creating the file like this:

retval = directory->Get(NS_GRE_DIR, NS_GET_IID(nsILocalFile), (void **)&greDir);
file->InitWithFile(greDir);
file->AppendRelativePath(NS_LITERAL_STRING("components/components.manifest"));

the contents of the components.manifest file are just one line:

interfaces RegionCapture.xpt

I still get NS_ERROR_FACTORY_NOT_REGISTERED when trying to access the component.

Chris