Hi, DeleteMe, and thanks for your response.
Yes, the source is available here:
http://www.musicex.com/mediacenter/devzone.htmlIt is the first example listed under Display plug-in SDK heading. The full source is there.
Can you clarify whether you mean to say that WebBrowser2::PutProperty will
not work?
It seems that I can pass it a VT_DISPATCH, but the question is, how an the script inside the html page get ahold of it?
Another idea is to use IActiveScript::GetScriptDispatch to get a dispatch through which I "can invoke script methods or view and modify script variables", according to the msdn documentation for this method.
I would get ahold of the IActiveScript using IWebBrowser2::get_Document() to get ahold of an IHTMLDocument. Then, use IHTMLDocument::get_Script() to get an IDispatch for the script engine. Although the msdn document doesn't say this explicitly, I assume this object would have an IActiveScript interface.
Maybe this approach would work, but I am very fuzzy on the details since I don't typically do Windows programming (I am embedded/Linux developer).
Do you think I may be on the right track?
Soundman