simple dll example - to practise my JNI :)

hi

does anyone here have a simple C/C++ dll example which i can try to call using JNI?

cause actually i've got some dll myself, but i think most of them (if not all) will be quite hard to be called using JNI, because even the C++ source code needed to use those dll is very lenghty...

please share some.. sharing is caring :D

any help is really appreciated. thank you

[399 byte] By [imin83a] at [2007-10-2 0:38:15]
# 1
Hi, the [url= http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html]tutorial[/url] comes with same source code. You will be expected to know how to compile some C code.
mlka at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
thank you, but i've completed the tutorial i need some 'real' dll.. the tutorial is too simple i think :Dthanks for replying
imin83a at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
Then you need to write one.If you just wish to use a JNI lib, from the developers POV it is no different to using a non-JNI lib.
mlka at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4
ohoo....thanks for replying :)
imin83a at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5
Play with the tool at http://simtel.net/product.php[id]90910[SiteID]simtel.netYou will be able to write a number of examples without any effort.
vitallisa at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 6
> You will be able to write a number of examples> without any effort.While that might be great for actually using, I'm not sure "without any effort" is good for learning.
mlka at 2007-7-15 16:52:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...