Is it possible to write a single JNI native method that can dispatch to many C functions residing in any shared library (DLL)?

Davanum Srinivas

Yes, you can use the "Shared Stubs" example from http://java.sun.com/products/jdk/faq/jnifaq.html to call any C function residing in any shared library.

About | Sitemap | Contact