JNI and CallBack function within dll
843829Sep 1 2009 — edited Sep 1 2009I'm using JNI and a callback function can be coded in JNI. However, the function i'm calling via JNI has a callback function via the dll.
Do you know how to handle this callback function via JNI. I dont want to use JNA instead I would prefer JNI.
Oneway to do this would be call jni->native dll->native dll calls callback->jni callbacks java. One problem how would i code in jni the callback fucntion and attached a thread. Is this technically possible.
Any sample code or example would help.