在java中使用ActiveX

发布于 2024-09-28 21:13:11 字数 577 浏览 1 评论 0原文

大家好 我正在尝试开发一个程序,使用名为 VLC 的程序来显示媒体。该程序可以安装在Windows上;还有一个在 java 中使用的版本,称为 JVLC。我已经使用执行 vlc.exe 作为进程。我也尝试过使用JVLC。我下载了一本字典,其中包含一个接口 jar 文件和一些 dll 文件。但出现了一个问题并且出现了异常: 无法加载库“libvlc”

java.lang.UnsatisfiedLinkError:当 libvlc.dll 位于该字典中时, 。我手动加载了这个dll文件和其他dll文件,但仍然出现异常。

java.lang.UnsatisfiedLinkError..... 找不到依赖库

我正在尝试使用 ActiveX 访问已安装的程序。我将 java 与 IntelliJ IDEA 一起使用。我不知道该怎么做。我已阅读此处 但我不明白我必须做什么。 有没有人可以指导我?

谢谢; 萨贾德

Hi all
I am trying to develop a program that uses a program called VLC to display media. This program can be installed on windows; also there is a version for using in java called JVLC. I have used executing vlc.exe as a process. also I have tried to use JVLC. I downloaded a dictionary that contains one interface jar files and some dll files. but there was a problem and there was an Exception:
java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc

while libvlc.dll was in that dictionary. I loaded this dll file and other dll files manually but still there is exception.

java.lang.UnsatisfiedLinkError..... Can't find dependent libraries

I am trying to use ActiveX to access installed program. I use java with intelliJ IDEA. I don't know how to do this. I have read here but I can't understand what I have to do.
Is there anyone can guide me ?

thank you;
sajad

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

纵情客 2024-10-05 21:13:11

看一下 EZ JCOM 它将采用 ActiveX(又名 COM)对象并创建一个 Java 类以直接使用它。

几年前,我们使用了这个桥接组件(在 JExplorer 出现之前集成 IE,并与其他一些 COM 对象进行通信)。它有效并且没有太多悲伤。

当然,缺点是你的应用程序不能跨平​​台移植;但这是你的决定!

Have a look at EZ JCOM which will take an ActiveX (aka COM) object and create a Java class for directly using it.

We used this bridge component some years ago (to integrate IE before JExplorer came along and also to talk to some other COM objects). It works and without too much grief.

Of course, the downside is your application is not portable across platforms; but that is your call!

小鸟爱天空丶 2024-10-05 21:13:11

VLCj 是您现在想要的,而不是 JVLC(它已经死了并且已经有一段时间了。)

请参阅 这里开始使用它。

VLCj is what you want these days rather than JVLC (it's rather dead and has been for some time.)

See here for getting started with it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文