"anton kostov" <[EMAIL PROTECTED]> a écrit :

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 profile service is not builded if you use --enable-single-profile, and only really needed if you need to store multiple profiles.

the code is:

NS_InitEmbedding(nsnull, nsnull);

I don't know whether this is relevant but :
- I managed to instantiate nsProfileDirServiceProvider , and linked
with profdirserviceprovidersa_s.lib

Yep, this is what you have to do when using single profile. But in that case the second parameter of NS_InitEmbedding should not be null, since you have to pass a dirserviceprovider which will give the profile location.

(Win32) - BUT NOT with profdirserviceprovider_s.lib (??)
- tried to link with profile_s.lib library but that doesn't seem to change
anything.

Those libs are not for you to use.


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to