calling thirdparty dll from java using JNI

want to call a generic dll from JAVA. The dll is provided by thirdparty. I am able to load it using "System.load("dllName.dll");" but i am now confused how can i call the methods. Since it is not made by me using JNI so there is not method with "native" keyword.

its methods are not having JNIEXPORT infront of method.

Please help me if possible send some sample code.

Thanks.

Raj

[412 byte] By [palthia] at [2007-11-27 9:07:23]
# 1
See http://www.sharewareplaza.com/Java-Platform-Invoke-API-Demo-version-download_49212.html
vitallisa at 2007-7-12 21:44:02 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Hi,Alternatively you may use one of the free generic JNI wrapper like JNative.See documentation at http://jnative.sf.netDownload JNative at http://sourceforge.net/project/showfiles.php?group_id=156421Best,--Marc ( http://jnative.sf.net)
mdentya at 2007-7-12 21:44:02 > top of Java-index,Java HotSpot Virtual Machine,Specifications...