On 6/26/06, Brandon Clark <[EMAIL PROTECTED]> wrote: > I have embedded geckosharp into a gtk application and I am displaying > dynamically generated html using the RenderData method of the webcontrol > widget. Generally this works well however I was wondering if there was a > limit to the size of the html string that can be passed to the RenderData > method? I am generated relatively large html documents in memory to be > displayed and I have found that past a certain threshold the gecko widget > hangs the entire application and I am forced to kill the app. The threshold > seems to be about 64Kb. Is there anyway around this or am I forced to stay > within this limit?
It's a libgtkmozembed bug AFAIK. You can write a temporary page to disc instead -- this is what MonoDoc does. Another workaround is to use a C++/XPCOM layer with P/Invoke, if you're prepared to add an unmanaged dependency. -- Michael Hutchinson http://mjhutchinson.com _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
