anton kostov wrote: > Hello! > > I am building Gecko embedded application and need to make research on how to > manipulate and use Profiles. > However i am experiencing the following problem while trying to get > reference to the Profile Service: > NS_ERROR_FACTORY_NOT_REGISTERED > > the code is: > > NS_InitEmbedding(nsnull, nsnull); > > nsCOMPtr<nsIProfile> profileService = do_GetService(NS_PROFILE_CONTRACTID, > &rv); > if (NS_FAILED(rv)) return rv; // HERE the error > > I don't know whether this is relevant but : > - I managed to instantiate nsProfileDirServiceProvider , and linked > with profdirserviceprovidersa_s.lib > (Win32) - BUT NOT with profdirserviceprovider_s.lib (??) > - tried to link with profile_s.lib library but that doesn't seem to change > anything. > > My questions are: > 1. What is the purpose of ProfileDirServiceProvider and ProfileService ? > 2. What is the difference between profdirserviceprovidersa_s.lib and > profdirserviceprovider_s.lib ? > 3. My aim is to customize highly the profiles structure and info, so should > i use > ProfileDirServiceProvider , ProfileService and what is the role of > MozRegistry in this picture? > > I am still a newbie, and thanks in advance for your attention! > --Anton
Basicaly will be very graceful to any hint about why cant instantiate Profile Service, P.s. Is the .mozconf -enable-profile-modules involved with this?? Thanks! _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
