how to call functions defined and packed in a .dll file
hi,
my client have provided me with a .dll file which implements all functions tasks.
earlier we created a applications in vb that accessed functions from the .dll file provided by client.
now he wants java implementation of the same application written in vb.
now how to access functions in .dll file provided by the client from java source code.
regards,
s.mohamed asif
# 1
For this you should write JNI wrappers for the native functions, that is you create class with the native function prototypes as native methods, implement these methods with native functions in JNI module, each JNI function calls a native function from your DLL.
I know that JNI coding is a greate pain. That is why I am developing Java Platform Invoke which is a paradigm of .NET Platform Invoke. See my demo at
http://www.sharewareplaza.com/Java-Platform-Invoke-API-Demo-version-download_49212.html