0

Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance.

3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by Majestics
1

try these links im sure this will do: http://support.microsoft.com/kb/222092 , http://blog.mwrobel.eu/how-to-call-dll-methods-from-java/ , http://stackoverflow.com/questions/771145/how-do-i-call-dll-inside-java and http://www.java-forums.org/advanced-java/2064-how-call-dll-java.html and it seems you can use this really quick technique to load your dll use:

System.load("C:/Windows/System32/yourdllname.dll");

or

    System.loadLibrary("C:/Windows/System32/yourdllname.dll");

Edited by DavidKroukamp

0

Thank you ... Java is a langauge i like the most but this time i think i dont have any choice i have to use .net framework ..................

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.