Re: Stable embedded mozilla?

2005-06-15 Thread Sami Vaaraniemi
Thanks, this does help. Of course, I cannot call this code directly from my C# app. But I believe I can place the code somewhere along with the IWebBrowser et al implementation classes in mozilla. I'll need to create a custom interface with method CreateProfile and expose it e.g., from the same

Re: Stable embedded mozilla?

2005-06-14 Thread Niky Williams
Well, I have some horribly written code LOL for you to register a profile. This is how I got it to work. One of those "Get working now, will fix and comment later" type of things. // nsCOMPtr nsCOMPtr_nsIFile = NULL; nsCOMPtr ns

Re: Stable embedded mozilla?

2005-06-14 Thread Sami Vaaraniemi
Thanks for the XPCOM_DEBUG_BREAK hint, it works. Although making assertion failures less visible is not a very good solution, I guess I can live with it for the time being. Regards, Sami "Niky Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You would be getting that "co

Re: Stable embedded mozilla?

2005-06-14 Thread Sami Vaaraniemi
"Michal Ceresna" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Monday 13 June 2005 12:02, Sami Vaaraniemi wrote: > Hello, > >> Assertion failures (in no particular order): >> >> ASSERTION: RootScrollFrame is not scrollable?, file >> d:/mozilla/layout/html/base/src/nsPresShell.c

Re: Stable embedded mozilla?

2005-06-13 Thread Niky Williams
You would be getting that "cookies.txt" error if you don't have a profile setup...I just had this error a week ago or so and that was the reason, as soon as I got my profile setup, it went away. I was also getting the "RootScrollFrame not scrollable" assertion as well, I've been told to ignore tha

Re: Stable embedded mozilla?

2005-06-13 Thread Michal Ceresna
On Monday 13 June 2005 12:02, Sami Vaaraniemi wrote: Hello, > Assertion failures (in no particular order): > > ASSERTION: RootScrollFrame is not scrollable?, file > d:/mozilla/layout/html/base/src/nsPresShell.cpp, line 3573 > > ASSERTION: Could not get profile directory lock.: 'Error', file > d:/m

Stable embedded mozilla?

2005-06-13 Thread Sami Vaaraniemi
Hi, I grabbed the mozilla sources (MOZILLA_1_7_5_RELEASE) and I've built it successfully on Windows with VS.NET 2003. I'm using it as an embedded control in a C# application. While it does more or less work, I'm getting lots of assertion failures and occasional crashes (see below). Before I st