开发者

use ActiveX in java

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 i开发者_运维百科s 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


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!


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜