LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 03-20-2008, 02:06 AM   #1
vikashsonar
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Unhappy Failing to get Profile Manager using do_GetService(NS_PROFILE_CONTRACTID, &rv)


Hi,

I am trying to integrate Firefox 2.0 with my application.
I am trying to get an object of nsIProfileInternal to get the list of all available profiles...
but when I execute following lines of code... do_GetService(NS_PROFILE_CONTRACTID, &rv) is failing to return an object of profile manager

//code
nsCOMPtr <nsIProfileInternal> profile_manager =
do_GetService(NS_PROFILE_CONTRACTID, &rv);


and rv contains as error code... NS_ERROR_FACTORY_NOT_REGISTERED
but when I try the same code with Mozilla 1.5... it works fine
please help to solve this problem... any suggestions are appreciated...
thanks in advance...

-Vikas
 
Old 03-20-2008, 05:11 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...2/#post3094679
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing to get Profile Manager using do_GetService(NS_PROFILE_CONTRACTID, &rv) vikashsonar Linux - Software 1 03-20-2008 03:29 AM
Mozilla 1.4 and profile manager linux_pioneer Linux - Software 5 07-22-2004 01:28 PM
Profile Manager raysr Linux - Newbie 8 06-04-2004 11:26 PM
mozilla profile manager HE|| again! itsjustme Linux - General 3 02-07-2004 09:15 AM
Profile Manager for Mozilla 1.2 Qebex Linux - Software 2 09-22-2002 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration