The generic way to call DLLs is to use JNI. There are libraries that make this easier if it's a COM DLL, e.g. Jacob. I'm not sure if the process is any different for VB DLLs than it is for C/C++ DLLs. [ May 22, 2006: Message edited by: Ulf Dittmer ]
Joined: Jun 01, 2005
Am trying to call VB ActiveX DLL Function thru JNI. The steps which i done so far:- 1) Written the Java Class to load DLL using System.loadLibrary or System.load method 2) Written the Simple VB Function and build into dll
Till this when i tried to call the function, am getting UnsatisfiedLinkedError.
After this by reading some websites i came to know tat VB Function can be called via VC++ DLL. 3) Wrote VC++ DLL and made a dll build.
But the same steps which given here will be applicable for calling VB ActiveX DLL methods too. In C/C++, the native methods are implemented but how come we are going to implement the native method in VB ActiveX DLL. Could you clarify this doubt.