Re: Embedding basics

2011-11-28 Thread Glen Gray
Hey Sunil, I was wondering if you ever solved your problem here ? On 8 Nov 2011, at 05:17, Sunil Kumar wrote: On Tue, Nov 8, 2011 at 10:33 AM, Sunil Kumar badboy...@gmail.com wrote: On Mon, Nov 7, 2011 at 8:26 PM, g...@novadsp.com g...@novadsp.com wrote: Hi Sunil How 'headless'

Re: Embedding basics

2011-11-07 Thread Glen Gray
Is there an online how-to/tutorial for using the below methods ? On 3 Nov 2011, at 13:12, Sunil Kumar wrote: I need to know what all I need to do and in Which order to load a URL in nsWebBrowser instance. In reality I get NS_ERROR_UNEXPECTED(0x8000) when I run following code. code

Re: Embedding basics

2011-11-07 Thread Benjamin Smedberg
On 11/4/2011 1:25 AM, Sunil Kumar wrote: I dont want to use Any GUI windows( gtk_window/Window), so I wont have the Handle/Pointer to a real window. How can I call BaseWindow.initWindow without having a Handle or Pointer to real window? Currently you cannot, a window is required. For a while

Re: Embedding basics

2011-11-07 Thread Sunil Kumar
I wish it was there. I could not find any proper documentation for this. This code is taken from bits of codes from many projects. On Mon, Nov 7, 2011 at 6:46 PM, Glen Gray sla...@slaine.org wrote: Is there an online how-to/tutorial for using the below methods ? On 3 Nov 2011, at 13:12,

Re: Embedding basics

2011-11-07 Thread Sunil Kumar
Is there any documentation for 'offscreen' branch? On Mon, Nov 7, 2011 at 7:05 PM, Sunil Kumar badboy...@gmail.com wrote: I wish it was there. I could not find any proper documentation for this. This code is taken from bits of codes from many projects. On Mon, Nov 7, 2011 at 6:46 PM, Glen

Re: Embedding basics

2011-11-07 Thread g...@novadsp.com
Hi Sunil How 'headless' does it need to be? And for which OS? On 07/11/2011 13:37, Sunil Kumar wrote: Is there any documentation for 'offscreen' branch? On Mon, Nov 7, 2011 at 7:05 PM, Sunil Kumarbadboy...@gmail.com wrote: I wish it was there. I could not find any proper documentation for

Re: Embedding basics

2011-11-07 Thread Sunil Kumar
On Mon, Nov 7, 2011 at 8:26 PM, g...@novadsp.com g...@novadsp.com wrote: Hi Sunil How 'headless' does it need to be? And for which OS? On 07/11/2011 13:37, Sunil Kumar wrote: Is there any documentation for 'offscreen' branch? On Mon, Nov 7, 2011 at 7:05 PM, Sunil

Re: Embedding basics

2011-11-07 Thread Sunil Kumar
On Tue, Nov 8, 2011 at 10:33 AM, Sunil Kumar badboy...@gmail.com wrote: On Mon, Nov 7, 2011 at 8:26 PM, g...@novadsp.com g...@novadsp.com wrote: Hi Sunil How 'headless' does it need to be? And for which OS? On 07/11/2011 13:37, Sunil Kumar wrote: Is there any documentation for

Embedding basics

2011-11-03 Thread Sunil Kumar
I need to know what all I need to do and in Which order to load a URL in nsWebBrowser instance. In reality I get NS_ERROR_UNEXPECTED(0x8000) when I run following code. code #includeiostream #includexpcom-config.h #includensXPCOMGlue.h #includensXPCOM.h #includensCOMPtr.h

Re: Embedding basics

2011-11-03 Thread Benjamin Smedberg
On 11/3/2011 9:12 AM, Sunil Kumar wrote: I need to know what all I need to do and in Which order to load a URL in nsWebBrowser instance. It looks like you have not initialize the webbrowser. As far as I know, you cannot use a webbrowser until you've set it up (using nsIBaseWindow.initWindow

Re: Embedding basics

2011-11-03 Thread Sunil Kumar
I dont want to use Any GUI windows( gtk_window/Window), so I wont have the Handle/Pointer to a real window. How can I call BaseWindow.initWindow without having a Handle or Pointer to real window? On Thu, Nov 3, 2011 at 8:40 PM, Benjamin Smedberg benja...@smedbergs.uswrote: On 11/3/2011 9:12