jerrytal...@gmail.com wrote:
The code is available at http://pastebin.com/m694ad30e.  On my system,
it dies on line 46:

doc->CreateElement(NS_LITERAL_STRING("div"), getter_AddRefs(newdiv));

So htmlDoc is non-null, right? When you say "dies" I assume you crash? What's the value of |doc| at this point? Is it pointing to a valid nsDocument object? Or do you not have a debug Gecko (or at least one with symbols) to work with here?

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to