开发者

IShockwaveFlashEvents: how to handle getURL("javascript:?

开发者 https://www.devze.com 2022-12-22 03:35 出处:网络
I wrote a simple WinAPI application in C++ which embeds the Abode F开发者_Python百科lash ActiveX control. It works fine.

I wrote a simple WinAPI application in C++ which embeds the Abode F开发者_Python百科lash ActiveX control. It works fine.

Next task that i have to do it is handle getURL("javascript:somefoo(someparam)", "")in C++

I don't understand the right way to do this. I create connection point to listen to _IShockwaveFlashEvents and my STDMETHODIMP Invoke(...) was called 3 times(!) but I still don't understand how to get the params of getURL...

And after calling getURL(). IE starts. How do I avoid that?


I solved this question.

  1. you cannot handle getURL
  2. flash must use fscommand to pass data to host application
0

精彩评论

暂无评论...
验证码 换一张
取 消