How to call a VB DLL from java Application

Hi,I have created a simple DLL using VB6 Application. I need to write a java program to call this DLL..Is there is any code available for the same?Thanks in advance
[192 byte] By [jAva_RocKsa] at [2007-11-27 9:50:52]
# 1
If it is a COM object, JACOB can do it.If not, the best I can think of is to use JNI...
Suo_alexa at 2007-7-13 0:19:52 > top of Java-index,Java Essentials,Java Programming...
# 2
I am very new to java environment... can u pls brief abt JNI and sample code to invoke a DLL using JNI
jAva_RocKsa at 2007-7-13 0:19:52 > top of Java-index,Java Essentials,Java Programming...
# 3

> I am very new to java environment... can u pls brief

> abt JNI and sample code to invoke a DLL using JNI

JNI is basically the Java - C++ bridge for you to do sth cannot be done in Java due to various constraints. In this way you write C++ program through Windows SDK to call the DLL and return the value to Java by JNI.

More detail can be found on the official website.

Suo_alexa at 2007-7-13 0:19:52 > top of Java-index,Java Essentials,Java Programming...