Re: Registering components under XULRunner 24

Christian Sell <[email protected]> Mon, 17 Feb 2014 06:39:44 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
heres the code that fails to load the component:

 nsCOMPtr<nsIRegionCapture> regionPrinter;
 retval = servMan->GetServiceByContractID("@mozilla.org/regioncapture;1", NS_GET_IID(nsIRegionCapture), getter_AddRefs(regionPrinter));