[EMAIL PROTECTED] wrote:
What did I do wrong?  I think I need to convert nsIDOMDocument type to
nsIVariant type so I can pass to this method.  Anyone out there please
point out what I need to do to make this work?

Something like:

nsCOMPtr<nsIWritableVariant> variant(do_CreateInstance("@mozilla.org/variant;1"));
  writable->SetAsInterface(pDOM, NS_GET_IID(nsIDOMDocument));

Then, pass "variant" to Send.

However... why don't you just pass the original string to Send? (in the variant)
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to