LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 03-20-2008, 03:02 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, 04:29 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 76
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla 1.4 and profile manager linux_pioneer Linux - Software 5 07-22-2004 02:28 PM
Profile Manager raysr Linux - Newbie 8 06-05-2004 12:26 AM
mozilla profile manager HE|| again! itsjustme Linux - General 3 02-07-2004 10:15 AM
Disable Mozilla Profile Manager beajedi Linux - Software 10 01-28-2004 07:15 PM
Profile Manager for Mozilla 1.2 Qebex Linux - Software 2 09-22-2002 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 PM.

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