Use a .OCX Control in Java

喜欢而已 提交于 2019-12-04 19:12:08

Here are some links of Java/COM bridges.

http://sourceforge.net/projects/jacob-project/
http://javacombridge.com/
http://sourceforge.net/projects/j-interop/
http://java2com.com/ http://j-integra.intrinsyc.com/

The last one has a lot of samples using their bridge, you might be able to either use their product or get ideas on how to do the Java part if you are going to roll your own.

You can also wrap your own using JNI.

The only approach I know of is through JNI, which is a bumpy road.

Commercial offerings like http://www.ezjcom.com/ provide tooling support for this, so it is easier to work with.

Haven't done this myself, but have a look at the Java Native Interface "JNI". http://download.oracle.com/javase/6/docs/technotes/guides/jni/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!