问题描述
我想将 Flash Player 直接嵌入到 C++ 或 Java 应用程序中.
I would like to embed Flash Player directly inside a C++ or Java application.
我找到了一篇文章,描述了如何为 C# 执行此操作:http://www.adobe.com/devnet/flash/articles/stock_history03.html
I found an article that describes how to do this for C#:http://www.adobe.com/devnet/flash/articles/stock_history03.html
不幸的是,我没有使用 C#、COM 或 ActiveX 的经验.我需要有人将此代码转换为 C++,以便我将 Flash Player 嵌入到 Win32 窗口中.最后,我想使用这些信息将 Flash 嵌入到 Java 应用程序中.
Unfortunately, I have no experience with C#, COM or ActiveX. I need someone to translate this code to C++, allowing me to embed the Flash Player into a Win32 Window. Ultimately I'd like to use this information to embed Flash into a Java application.
我正在寻找三个主要功能:
I am looking for three main functionalities:
- 能够播放 Flash 电影
- 能够接收事件(例如鼠标点击)
- 能够发送事件
如果可能,我更喜欢开源解决方案.
I prefer an open-source solution if possible.
推荐答案
我不知道如何在 C++ 中嵌入 flash,但是 Christopher Deckers(SWTSwing 名声)开发了一个有趣的 hack,可以将其嵌入到 Java 中.您可以在Javalobby 公告线程中找到更多信息.
I don't know how to embed flash in C++, but Christopher Deckers (of SWTSwing fame) has developed an interesting hack which allows it to be embedded in Java. You can find more information in the Javalobby announcement thread.
这是一个更新的链接:https://github.com/Chrriis/DJ-Native-摆动
这篇关于在 C++ 或 Java 应用程序中嵌入 Flash Player?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!