Return value from execScript(IHTMLWindow2)

com, winapi

Solution

Yes, that's how System.Windows.Forms.HtmlDocument.InvokeScript gets the return value.

Problem

What is the best way to get the return value from IHTMLWindow2::execScript? I found this link, http://social.msdn.microsoft.com/Forums/en/ieextensiondevelopment/thread/712db8ec-0ceb-4efa-afe3-590dc6bbb7bf, I haven't tried this, is this the right way? Regards Manoj

Original source