3

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).

Jerry YY Rain
  • 4,134
  • 7
  • 35
  • 52
Caldur
  • 135
  • 10
  • Why do you need to access the engine itself? – Simon Mourier Jun 30 '14 at 13:33
  • I want to attach profiler IActiveScriptProfilerCallback to it. I am working on JavaScript deobfuscator and using profiler I want to hook function and script creation (FunctionCompiled and ScriptCompiled). – Caldur Jun 30 '14 at 14:03

0 Answers0