Get IActiveScript of current page in IE

I have an IE plugin (BHO) and I want to access script engine.

I want to start profiling it, so IActiveScript interface pointer is probably needed.

I have IWebBrowser2 pointer, from that I tried getting IHTMLDocument (get_Document) and querying it to IActiveScript and IActiveScriptSite with no success.

I also tried IHTMLDocument->get_Script, but that returns just script IDispatch pointer (same as IActiveScript::GetScriptDispatch).

Answers


Need Your Help

how do i send an email in python?

python email

i've looked online but every time i try to connect to the localhost it says connection refused. Do i need to sign into a valid email address to send email?

Having trouble getting value from JSOnObject

java android json arrays jsonobject

I am trying to pull some values out of a JSONObject, from this: http://proopt.co.za.winhost.wa.co.za/api/Course/INFO3003

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.