Posted By:
Michael_Jensen
Posted On:
Thursday, August 23, 2001 08:11 PM
Hi Akhil,
I'm afraid that you cannot call any methods from an ActiveX DLL created in VB. The way that JNI works is first you define your Java method to be native. Therefore, the compiler knows that this method will be making a call to a library other than Java.
You then run javah -jni on your class to generate a C header file. Now that you have the header file, you can create a DLL in C/C++ that contains the specified method.
Check out the tutorial on the sun site ... it's quite helpful.
I hope that helps!
Mike