The process crashes on the last line nsresult nres = mEndParent->GetChildNodes(getter_AddRefs(children));
I can see in my vstudio debugger that I am getting an object with this structure: nsIDOMDocument nsISupports __vptr (**some expression which can't be evaluated) (**some expression which can't be evaluated) (**some expression which can't be evaluated) Thanks, Vijay _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding